cargo-shell
cargo-shell copied to clipboard
using Ctrl-C exits cargo shell
First of all, congrats for your tool!
Using Ctrl-C to stop waiting for changes does not only stop waiting for changes, but also exits cargo shell.
$ cargo shell
Welcome to cargo-shell v0.1.0
>> ~test
Waiting for changes... Hit Ctrl-C to stop.
^C
$
Maybe we could use another shortcut, like Ctrl-D?
Thanks for opening this. This is a known issue, I am using cargo-watch for this feature, and it appears to be the reason that my Ctrl+C handling is not being used here. I probably need to stop shelling out to cargo-watch and just incorporate this feature directly into cargo-shell.