Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79319 --- shadow/79319 2006-09-07 17:11:24.000000000 -0400 +++ shadow/79319.tmp.18996 2006-09-07 17:11:24.000000000 -0400 @@ -0,0 +1,44 @@ +Bug#: 79319 +Product: Mono: Class Libraries +Version: 1.1 +OS: GNU/Linux [Other] +OS Details: SUSE Linux 10.1 +Status: NEW +Resolution: +Severity: Unknown +Priority: Normal +Component: CORLIB +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Console.SetCursorPosition doesn't sets the cursor to a remembered position + +namespace mano +{ + class MainClass + { + public static void Main(string[] args) + { + Console.WriteLine("__MONO BUG TESTCASE__"); + Console.Write("String to be changed: "); + int iLeft = Console.CursorLeft; + int iTop = Console.CursorTop; + Console.WriteLine("FIRST_VALUE"); + Console.WriteLine("Now, after pressing any key, the String will change"); + Console.ReadLine(); + Console.SetCursorPosition(iLeft, iTop); + Console.WriteLine("SECOND_VALUE"); + } + } +} + + +Expected results (results from MS.NET): +The string "FIRST_VALUE" is overwritten by the string "SECOND_VALUE". + +Actual results (on Mono, with Linux): +- SECOND_VALUE is written two lines down (if using a terminal: CTRL+ALT+F1) +- Very strange results when using GnomeTerminal, Konsole or XTerm. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
