Fix error with Key.Space using lowercase letters.

This commit is contained in:
BDisp
2024-11-07 01:11:52 +00:00
parent 5efba6a5bc
commit b7b9e01502

View File

@@ -1140,10 +1140,11 @@ public static class AnsiEscapeSequenceRequestUtils
if (isConsoleKey)
{
key = (ConsoleKey)ck;
keyChar = (char)ck;
}
newConsoleKeyInfo = new (
consoleKeyInfo.KeyChar,
keyChar,
key,
GetShiftMod (consoleKeyInfo.Modifiers),
(consoleKeyInfo.Modifiers & ConsoleModifiers.Alt) != 0,