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 27e6a61 commit adb917cCopy full SHA for adb917c
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs
@@ -1725,6 +1725,17 @@ private KeyCode MapKey (WindowsConsole.ConsoleKeyInfoEx keyInfoEx)
1725
}
1726
1727
1728
+ // If KeyInfo.Key is A...Z and KeyInfo.KeyChar is not a...z then we have an accent.
1729
+ // See https://github.com/gui-cs/Terminal.Gui/issues/3807#issuecomment-2455997595
1730
+ if (keyInfo.KeyChar <= (char)'z')
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;
1741
0 commit comments