CmdRefresh in gettext.cs has a little bug: it should call ForceCursor to
get the cursor in the right place. Attached is a patch. Without it, the
cursor can be off a bit.

Also, any ideas on getting a multi-line input working with this?

Thanks!

-Doug

Index: getline.cs
===================================================================
--- getline.cs  (revision 1090)
+++ getline.cs  (working copy)
@@ -641,6 +641,7 @@
                        Console.Clear ();
                        max_rendered = 0;
                        Render ();
+                       ForceCursor (cursor);
                }

                void InterruptEdit (object sender, ConsoleCancelEventArgs a)
[
Index: getline.cs
===================================================================
--- getline.cs	(revision 1090)
+++ getline.cs	(working copy)
@@ -641,6 +641,7 @@
 			Console.Clear ();
 			max_rendered = 0;
 			Render ();
+			ForceCursor (cursor);
 		}
 
 		void InterruptEdit (object sender, ConsoleCancelEventArgs a)
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to