You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sigh. Showing the cursor makes it display Error: read interrupted on a Ctrl+C. From the issue it seems like we might need to handle this on every dialoguer error.I will... see if we can not. Except... in Ctrl+C you don't get to go down an error path. I am not sure what is going on in those suggestions.
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: