[Mono-bugs] [Bug 79419][Nor] New - Console.KeyAvailable erases the screen

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 16 15:03:55 EDT 2006


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 raccoonone at procyongames.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79419

--- shadow/79419	2006-09-16 15:03:55.000000000 -0400
+++ shadow/79419.tmp.3616	2006-09-16 15:03:55.000000000 -0400
@@ -0,0 +1,64 @@
+Bug#: 79419
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Kubuntu 6.06, and Mandriva 2006
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: raccoonone at procyongames.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Console.KeyAvailable erases the screen
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Console.KeyAvailable is clearing the screen.
+
+Steps to reproduce the problem:
+The following C# code will demonstrate the problem:
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Mono_bug
+{
+    class Program
+    {
+        static void Main(string[] args)
+        {
+            Console.WriteLine("Some text is written.");
+            Console.WriteLine("Now I will call Console.KeyAvailable. Press
+enter to continue.");
+            Console.ReadLine();
+            bool x = Console.KeyAvailable;
+            Console.WriteLine("Press enter to exit");
+            Console.ReadLine();
+        }
+    }
+}
+
+Actual Results:
+Some text is written.
+Now I will call Console.KeyAvailable. Press enter to continue.
+<user presses enter>
+[first two lines are erased from screen]
+Press enter to exit
+<user presses enter>
+
+Expected Results:
+Some text is written.
+Now I will call Console.KeyAvailable. Press enter to continue.
+<user presses enter>
+Press enter to exit
+<user presses enter>
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list