Force '^C' to be printed when editing current prompt, then aborting it
- by Stefan Lasiewski
This is the opposite of Prevent “^C” from being printed when aborting editing current prompt.
I'm using Bash. When I'm editing the commandline in Bash, and I hit Control-C to abort the commandline, the '^C' character does not display. I would like to see this character.
I tried commands like stty -ctlecho and stty ctlecho (which I borrowed from the other question), but this didn't work for me. This behavior seems to be true with my environment on Ubuntu, CentOS and MacOSX.