瀏覽代碼

Fix Windows Driver to not echo the character typed

Miguel de Icaza 7 年之前
父節點
當前提交
c132680bcc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Terminal.Gui/MonoCurses/mainloop.cs

+ 1 - 1
Terminal.Gui/MonoCurses/mainloop.cs

@@ -318,7 +318,7 @@ namespace Mono.Terminal {
 		{
 			while (true) {
 				waitForProbe.WaitOne ();
-				windowsKeyResult = Console.ReadKey ();
+				windowsKeyResult = Console.ReadKey (true);
 				keyReady.Set ();
 			}
 		}