[Mono-bugs] [Bug 81540][Nor] New - Console.Clear () doesn't reset cursor position.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 7 03:00:52 EDT 2007
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 mono at davidb.org.
http://bugzilla.ximian.com/show_bug.cgi?id=81540
--- shadow/81540 2007-05-07 03:00:52.000000000 -0400
+++ shadow/81540.tmp.24808 2007-05-07 03:00:52.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 81540
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Gentoo, amd64, mono-1.2.3.1
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: mono at davidb.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Console.Clear () doesn't reset cursor position.
+
+The attached program (requires gmcs) shows a bug in Console. Run the
+program from a terminal window with the cursor near the bottom of the
+screen. Upon running, it will clear the screen. Press backspace and the
+cursor will jump to the bottom of the screen.
+
+The problem can be worked around by calling Console.SetCursorPosition(0,0)
+after clearing the screen.
+
+I believe the fix is in TermInfoDriver.cs that the Clear() method needs to
+reset the cursor position.
More information about the mono-bugs
mailing list