Skip to content

Conversation

@certik
Copy link
Collaborator

@certik certik commented Oct 20, 2020

This change automatically disables raw mode when not connected to a
terminal. This seems to be a more useful default, which allows to
redirect input from a file, e.g., at a CI. Things will just work.

This change automatically disables raw mode when not connected to a
terminal. This seems to be a more useful default, which allows to
redirect input from a file, e.g., at a CI. Things will just work.
@wolfv
Copy link
Member

wolfv commented Oct 21, 2020

@certik I fixed the test on this one. The previous expected failure seems to work fine now.

@certik
Copy link
Collaborator Author

certik commented Oct 21, 2020

Yeah, this is related to #59, we need robust testing of the interactive prompt.

@staxfur
Copy link
Collaborator

staxfur commented Dec 2, 2021

Hey @certik, wanted to quickly ask what the problem was with this PR. I have seen that (along with other things) in the code and would like to make those extra features available as well for the completeness. Also We should discuss how the input is handled anyway as the input function is not associated with the Terminal class anymore - so the input function is not aware of wether raw input is available or not. We should do that after the prompt is done.

@staxfur
Copy link
Collaborator

staxfur commented May 25, 2022

Moved to #172, #146, #139, #59.

@staxfur staxfur closed this May 25, 2022
@flagarde flagarde deleted the nontty branch July 6, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants