-
Notifications
You must be signed in to change notification settings - Fork 377
Read full lines when asking for user input when TERM=dumb #6829
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
base: master
Are you sure you want to change the base?
Conversation
|
That looks alright on principle. Although i believe that the problem is more that your terminal doesn't support termio's non-canonical mode so a real fix could be to both test the TERM variable and if it's not However that said, i'm wondering if we couldn't simplify all this and just use the simple mode all the time. This would match better with the typical unix input method. @rjbou @dra27 what do you think? |
|
ok, maybe something like: ? |
|
yeah that's what i was thinking about |
|
Actually i just tested it in |
kit-ty-kate
left a comment
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.
I think this will do the job just fine for now and is correct anyway. We can improve it later i think (see #6830)
04ab3a4 to
bf28bb9
Compare
bf28bb9 to
776598f
Compare
|
@arvidj i've squashed and renamed the commit/PR. If you're happy with it feel free to mark this PR ready to review and i'll merge it |
Fixes #6828