Ctrl-C when using command line history does nothing

Nov 6, 2014
If I start typing a command and press Ctrl-C the command is cancelled and is cleared form the command line prompt, as expected.

If I use "Up" to get to a previous command, pressing Ctrl-C does nothing (unless I edit the command in some way). Actually it does do something, but not immediately. TCC notices that the Ctrl-C is pressed, but doesn't actually cancel the command until another key is pressed.

Is there a way to convince TCC to cancel even commands brought up by the history functionality when Ctrl-C is pressed?
May 20, 2008
Syracuse, NY, USA
You're quite right. The behavior first showed up in TCC v21. I always use <Esc> to cancel a command line.
Similar threads
Thread starter Title Forum Replies Date
R Emacs-style cmdline editing Ctrl-K Support 0
vefatica Can I alias @@Ctrl-Shift-Alt-u? Support 4
cgunhouse Ctrl-C from within a library function Support 6
Alpengreis Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C Support 1
vefatica Ctrl-F? Support 3
MickeyF expand alias in cmdline with Ctrl-F in TCC Support 21
MickeyF Ctrl-S and Ctrl-Q in TCC Support 6
Peter Murschall IDE: Ctrl-W is a Harakiri Command ! Support 23
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
samintz TCEDIT Ctrl-S Support 2
vefatica Ctrl-Alt-L (R, Left, Right). Support 8
V Ctrl-Home/End don't work in Win10 Support 3
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
vefatica TPIPE.EXE crashes on Ctrl-C Support 9
Peter Murschall IDE destroys Text on Ctrl-U/Ctrl-Shift-U Support 12
vefatica Ctrl-Enter in command history window? Support 8
vefatica TPIPE crashes on Ctrl-C Support 1
cgunhouse Ctrl + Shift keys and Paste (drop down menu and V) Support 4
M View doesn't recognize Ctrl+End and Ctrl+Pos1 Support 2
M Ctrl-End doesn't work. DelToEnd is not executed Support 13
C Output continues after Ctrl-Break Support 8
J How to? Debug Keyboard Shortcuts (Ctrl-A not remapping?) Support 8
Jay Sage Ctrl-C Not Working Reliably to Copy Screen Content Support 4
vefatica Ctrl-x? Support 13
C How to? ctrl-c does not prompt "Terminate batch job" Support 2
vefatica Ctrl-T and Ctrl-Shift-T Support 6
P Disable global hotkey Ctrl+Shift+T Support 19
vefatica DATEMONITOR + Ctrl-C crashes TCCv15 Support 5
dcantor Fixed Ctrl+Shift+Insert repeats last character Support 3
A WAD No newlines in copy with Ctrl-Ins Support 2
A Ctrl-1 and the command history Support 5
vefatica Ctrl-Up/Down? Support 21
E Ctrl-V does not always work in BDEBUGGER Support 4
vefatica Should Ctrl-C interrupt a COPY? Support 2
M Ctrl-C and Java Support 19
K Ctrl-D alias no longer works Support 4
vefatica Ctrl-F1? Support 0
J CTRL-C does not work on Windows 7 64-bit Support 3
dcantor Does variable expansion (ctrl-x) actually work? Support 27
E Ctrl+C not working as expected Support 8
Juanma Barranquero Ctrl-C trouble Support 1
Fross CTRL-C in V10 Support 3
S Ctrl-C handling while piping Support 0
vefatica .PL and Ctrl-C Support 3
vefatica LIST, Ctrl-C leaves visual artifact Support 0
Jesse Heines Using Regular Expressions with the REN commanc Support 8
R WAD Unusable state when using Chinese characters Support 3
Joe Caverly Using TYPE with non-English text Support 22
L Using TCC.exe through an SSH connection Support 3
Joe Caverly Using @PSHELL from @EVAL Support 8

Similar threads