cargo-shell icon indicating copy to clipboard operation
cargo-shell copied to clipboard

using Ctrl-C exits cargo shell

Open yanns opened this issue 8 years ago • 1 comments

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?

yanns avatar Nov 23 '16 07:11 yanns

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.

pwoolcoc avatar Nov 24 '16 14:11 pwoolcoc