We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When pressing SHIFT+END with the following program:
SHIFT+END
using System; namespace TestConsole { class Program { static void Main(string[] args) { // Console.TreatControlCAsInput = true; while (true) { var key = Console.ReadKey(true); Console.WriteLine($"Key: {key.Key} Modifiers: {key.Modifiers} Char: {(key.KeyChar < ' ' || (int)key.KeyChar >= 126 ? "0x" + ((int)key.KeyChar).ToString("x2") : key.KeyChar.ToString())}"); if (key.Key == ConsoleKey.C && (key.Modifiers & ConsoleModifiers.Control) != 0) { break; } } } } }
It generates the following sequence on Linux:
Key: Escape Modifiers: 0 Char: 0x1b Key: D1 Modifiers: 0 Char: 1 Key: 0 Modifiers: 0 Char: ; Key: D2 Modifiers: 0 Char: 2 Key: F Modifiers: Shift Char: F
instead of generating the following on Windows:
Key: End Modifiers: Shift Char: 0x00
In kalk, it's breaking the start selection + move cursor to end, while SHIFT+HOME is working just fine.
kalk
SHIFT+HOME
So it's either a bug in .NET or in WSL. I haven't checked this in a VM/real Linux so see how it behaves...
The text was updated successfully, but these errors were encountered:
Fix broken backspace on macOS/Linux (#16)
c2c8b02
No branches or pull requests
When pressing
SHIFT+END
with the following program:It generates the following sequence on Linux:
instead of generating the following on Windows:
In
kalk
, it's breaking the start selection + move cursor to end, whileSHIFT+HOME
is working just fine.So it's either a bug in .NET or in WSL. I haven't checked this in a VM/real Linux so see how it behaves...
The text was updated successfully, but these errors were encountered: