Closed jyn514 closed 4 years ago
I fully expect every command line program to exit with ^C, as it is the default SIGINT to exit/break.
I expect command line programs that I'm waiting on to exit on ^C - I'm interrupting the computation. I expect command line programs that are waiting on me to reset on ^C - I'm interrupting my input.
Ahhhh! Now I get you; my mistake. Yeah, that sounds like a good feature.
+1. Having emacs-like readline keybinding would be great, e.g. CTRL-A, CTRL-E, CTRL-U, etc. Even better if it supports inputrc
.
You can now use emacs key binds with 14cb613e5091461df145a233e272357aee904027
running the current command without clearing the buffer is interesting. I'm curious of others would like that.
In terms of the behavior of ctrl + c. I personally prefer it to exit in this particular case since I think some people may get confused if they can't exit with ctrl + c. Depending on feedback I'm certainly open to changing it.
I'm gong to consider this issue done. Please file another issue if bit v0.6.1 is missing anything
I'd expect the following behavior that isn't currently present:
ctrl+o
will run the current command without clearing the input buffer