Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels