-
Notifications
You must be signed in to change notification settings - Fork 261
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
Terminating the app while a prompt is waiting will not restore terminal settings #2557
Comments
cc @jandubois |
There is some activity on this over at |
Sigh. Showing the cursor makes it display |
Ha ha, but setting up the handler at the top level prevents us from Ctrl+C-ing out of normal prompts, it just goes round in a loop with "Invalid value: read interrupted". |
From #2555:
I believe this could be fixed by hooking SIGINT (as we do for
spin up
via thectrlc
crate) and calling https://docs.rs/console/0.15.7/console/struct.Term.html#method.show_cursor (viadialoguer::console
).The text was updated successfully, but these errors were encountered: