dthree / vorpal

Node's framework for interactive CLIs
http://vorpal.js.org
MIT License
5.64k stars 280 forks source link

Control + C inside prompt is not canceling the execution #165

Open alansouzati opened 8 years ago

alansouzati commented 8 years ago

If I presse control + c when I get a prompt, instead of canceling the command execution it continues with the default setting.

luke3butler commented 7 years ago

Does anyone have a workaround for this? When doing Control + c, the prompt continues as if you've hit enter. Very dangerous depending on what the action is.

alansouzati commented 7 years ago

I added a pull request for this but it seems that it is still pending. You can use my branch directly in your project. this is what I've doing with the grommet-cli