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
From the issue in kalk#18
When pressing SHIFT+END with the following program in WSL:
SHIFT+END
using System; namespace TestConsole { class Program { static void Main(string[] args) { 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())}"); } } } }
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
I don't know if it is a problem in .NET or WSL.
Tested on all WSL Ubuntu versions (16.04, 20.04) Tested with .NET Core App 3.1 and .NET 5.0
No, it was already broken with netcoreapp3.1
No workaround
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @eiriktsarpalis See info in area-owners.md if you want to be subscribed.
area-System.Console, untriaged
area-System.Console
untriaged
Sorry, something went wrong.
Related to #802 and #44621. I can reproduce the issue locally.
@adamsitnik This might be worth re-testing to see if it gets fixed as part of #802.
adamsitnik
Successfully merging a pull request may close this issue.
Description
From the issue in kalk#18
When pressing
SHIFT+ENDwith the following program in WSL:It generates the following sequence on Linux:
instead of generating the following on Windows:
I don't know if it is a problem in .NET or WSL.
Configuration
Tested on all WSL Ubuntu versions (16.04, 20.04)
Tested with .NET Core App 3.1 and .NET 5.0
Regression?
No, it was already broken with netcoreapp3.1
Other information
No workaround
The text was updated successfully, but these errors were encountered: