[Mono-list] Small bug in gettext.cs

Douglas S. Blank dblank at cs.brynmawr.edu
Sun Aug 31 22:57:01 EDT 2008

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?



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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdrefresh.patch
Type: text/x-patch
Size: 322 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080831/8856b04e/attachment-0001.bin 

More information about the Mono-list mailing list