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
Running sqlx database drop and then killing the program with ctrl+c leaves me without a cursor.
If I understand correctly, it's the opinion of the dependecy's developers that this should be handled by users of the crate, see console-rs/dialoguer#92. This is presumable because composing library traps could lead to trouble if using various different crates. So I think the ideal solution would be to use whatever the same functionality dialoguer itself is using after the prompt is complete inside a SIGINT trap. Perhaps something like this: console-rs/dialoguer#22 (comment) with the above comments.
The text was updated successfully, but these errors were encountered:
Running
sqlx database drop
and then killing the program with ctrl+c leaves me without a cursor.If I understand correctly, it's the opinion of the dependecy's developers that this should be handled by users of the crate, see console-rs/dialoguer#92. This is presumable because composing library traps could lead to trouble if using various different crates. So I think the ideal solution would be to use whatever the same functionality
dialoguer
itself is using after the prompt is complete inside a SIGINT trap. Perhaps something like this: console-rs/dialoguer#22 (comment) with the above comments.The text was updated successfully, but these errors were encountered: