-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Console.Unix: make Console.OpenStandardInput Stream aware of terminal #39192
Conversation
Tagging subscribers to this area: @eiriktsarpalis |
Seems reasonable. Do you think you could also provide a manual test that highlights the functional changes introduced here? |
@eiriktsarpalis I've updated the PR based on your feedback. I will still look into adding a manual test. |
Any progress on this PR? This is a bug, which we should address for 5.0. |
When performing OpenStandardInput against a terminal, perform Reads on a line-by-line basis and perform appropriate processing and echoing.
b52cd47
to
b723491
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @tmds
I have tested it manually and it works as expected. The CI is green, code looks good. Merging and including in 5.0
When performing OpenStandardInput against a terminal, perform Reads on a
line-by-line basis and perform appropriate processing and echoing.
Fixes #39008
@eiriktsarpalis @stephentoub ptal