-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
Improve Unix Console.ReadLine by borrowing from PowerShell's ReadLineFromConsole #94860
Comments
Tagging subscribers to this area: @dotnet/area-system-console Issue DetailsOn Unix, .NET uses its own Console.ReadLine implementation which is very minimalistic. PowerShell has a more feature rich ReadLine implementation here: https://github.com/PowerShell/PowerShell/blame/5cd04f2377b624dedd17a85ff3f38a0343292477/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs#L1567. We can borrow some things from that to improve the UX of Console.ReadLine on Unix. cc @dotnet/area-system-console @adamsitnik @stephentoub
|
This comment was marked as outdated.
This comment was marked as outdated.
We would get #38051 fixed? That would be great! I am supportive of that idea. |
Yes, arrow keys are part of this. You can assign this to me. |
Closing in favor of #38051. See comment: #38051 (comment). |
On Unix, .NET uses its own Console.ReadLine implementation which is very minimalistic.
PowerShell has a more feature rich ReadLine implementation here: https://github.com/PowerShell/PowerShell/blame/5cd04f2377b624dedd17a85ff3f38a0343292477/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cs#L1567.
It include things like: arrows keys, home, end, delete, ...
We can borrow some things from that to improve the UX of Console.ReadLine on Unix.
cc @dotnet/area-system-console @adamsitnik @stephentoub
The text was updated successfully, but these errors were encountered: