소스 검색

simplified

Tig 10 달 전
부모
커밋
0ad9a1f6d3
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 7
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 1 - 7
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -1731,13 +1731,7 @@ internal class WindowsDriver : ConsoleDriver
             {
                 return (KeyCode)keyInfo.Key;
             }
-            else
-            {
-                return (KeyCode)keyInfo.KeyChar;
-            }
-
-            // Return the Key (not KeyChar!)
-            return (KeyCode)keyInfo.Key;
+            return (KeyCode)keyInfo.KeyChar;
         }
 
         // Handle control keys whose VK codes match the related ASCII value (those below ASCII 33) like ESC