dthree / vorpal

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

CTRL+C clears the current command from the prompt and doesn't add it to history #46

Closed scotthovestadt closed 8 years ago

scotthovestadt commented 8 years ago

It should still be shown visibly on the command line UI, and you should be able to get at it via history. (This matches behavior of native command-line.)

dthree commented 8 years ago

Huh? Please clarify. I just tried on a standard ubuntu shell, and if I type:

$ foo bar and the and then press CONTROL+C, it doesn't save that to history.

If I am misduplicating, could you please clarify a little with an example? Thanks.

scotthovestadt commented 8 years ago

You're right, behavior isn't standard.