By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!As far as I know they are precisely for the console. And Ctrl-Y should be Clipboard\Copy. If you have Ctrl-Y for Editing\EraseLine repalce it with Esc.Thanks, but I had already tried that. I don't believe those commands are for the console command line because the assigned key is Crtl+y and that doesn't work either.
As far as I know they are precisely for the console. And Ctrl-Y should be Clipboard\Copy. If you have Ctrl-Y for Editing\EraseLine repalce it with Esc.
echo %@iniwrite["%_ininame",Keys,EraseLine,]
echo %@iniwrite["%_ininame",Keys,EraseLine,Esc]
It all works as expected for me, except that I can not assign the ESC key using the dialog. Pressing ESC while "New Shortcut Key" has the focus gives me a backarrow, not the "Esc" string it ought to:
View attachment 2232
So here's my low-tech solution:
... then exit and restart Take Command.Code:echo %@iniwrite["%_ininame",Keys,EraseLine,] echo %@iniwrite["%_ininame",Keys,EraseLine,Esc]
(The first line deletes any existing EraseLine directive; the second recreates it with the correct value. Deleting the directive first should not usually be necessary, but if the existing line contains control characters it can confuse WritePrivateProfileString(). And my putzing around with the OPTION dialog managed to put -- you guessed it -- an ESC character into the .INI file. Urk!)
I'm not sure I'm being understood. I'm talking about the command line in a console window. EraseLine in the options shouldn't effect that because it's a built-in Windows shortcut. ESC clears the command line in a Windows console and it works in a TCC21 console window and in a CMD console window, but it does not work in a TCC24 console window.
I have the same problem running a standalone TCC. If I run CMD in a Take Command tab, -ESC works as expected.
Esc works as expected with two Is.
I notice there''s a bunch of new stuff in the .ini file in the keys section that wasn't there before installing 24.0.
TCC opts out of Windows normal console input-output so it can provide better command line editing. It has always done that. TCC processes Esc. You should haveI'm not sure I'm being understood. I'm talking about the command line in a console window. EraseLine in the options shouldn't effect that because it's a built-in Windows shortcut. ESC clears the command line in a Windows console and it works in a TCC21 console window and in a CMD console window, but it does not work in a TCC24 console window.
in the [Keys] section of your TCMD.INI.EraseLine=Esc