We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb917c commit 0ad9a1fCopy full SHA for 0ad9a1f
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
@@ -1731,13 +1731,7 @@ private KeyCode MapKey (WindowsConsole.ConsoleKeyInfoEx keyInfoEx)
1731
{
1732
return (KeyCode)keyInfo.Key;
1733
}
1734
- else
1735
- {
1736
- return (KeyCode)keyInfo.KeyChar;
1737
- }
1738
-
1739
- // Return the Key (not KeyChar!)
1740
- return (KeyCode)keyInfo.Key;
+ return (KeyCode)keyInfo.KeyChar;
1741
1742
1743
// Handle control keys whose VK codes match the related ASCII value (those below ASCII 33) like ESC
0 commit comments