TC13 popup window edit fields


Aug 19, 2008
"All of the popup windows (history lists, filename completion, @select, etc) have an edit control on the toolbar. Entering a search string there (or just typing while the popup window has focus) will eliminate non-matching entries from the window."

First, I like what you've done here. v12, the history/command windows have the edit control but it doesn't do much. Confused...


Aug 19, 2008
Well, it does do *something* - in v12. When I type in the field it scrolls to the commands that begin with the text I'm typing. So it seems like an incomplete implementation of what's in v13.

So what was the purpose of the field in v12?


Staff member
May 14, 2008
> Well, it does do *something* - in v12. When I type in the field it
scrolls to the

> commands that begin with the text I'm typing. So it seems like an

> implementation of what's in v13.

Not really -- you're not actually typing in the edit control (impossible, as
it's read-only). You're typing in the listbox (which always has focus in
v12), which then updates the text field that you think is an edit control.

So it's more like a non-existent implementation of what's in v13. (That
admittedly might superficially resemble a tiny portion of what is happening
in v13 -- as long as you don't try to edit any existing characters, or use
any cursor keys or shortcut keys.)


Aug 19, 2008
Ah, now I see what you mean by read-only.

Nonetheless, a welcome addition to lucky v13 :-)
Feb 7, 2012
With 12, when you type the selected row changes to reflect what you've typed so far, and all you have to do is press Enter when you've arrived at the row you want. With 13, as you type, the list gets smaller until the desired row is either the only row or perhaps the top row, but you can't press Enter because no row is selected. You have to press Home or down arrow, then enter. Is there a way to press a single key to select the top line in the list box?

You might ask, what's an extra keystroke? Well, I'm a software developer and I use this to switch contexts so I'm doing it all the time, many times a day. Plus I have years of muscle memory. If 13 can't be enhanced so it automatically keeps the top row selected (unless you explicitly move the cursor), I'll have to reprogram my script.

Is it possible to use 12's version in 13? It seems to be an internal command.

May 20, 2008
Syracuse, NY, USA
I just tried this with the history pop-up in v13. I typed "nslookup -type=m" in the edit-box. The history was narrowed down to two entries (none selected). I pressed "Enter". TCC disappeared, leaving this GPF file.
TCC  13.03.39
EAX=07D7C0D2  EBX=7651C246  ECX=750A17C4  EDX=05744040
ESI=76215539  EDI=00000000  EBP=016EBB8C  ESP=016EB870
CS=0000001B  DS=00000023  ES=00000023  SS=00000023
1 : TakeCmd.dll 00000001:000b176a
2 : TakeCmd.dll 00000001:0009fa3e
I tried a few more times, once with just "dir" which showed many entries (none selected). Every time TCC crashed.
Jan 19, 2011
Norman, OK
Same here. Four tabs open in TCMD (TCC, bash, zsh and Powershell).

Hit page down to bring up history list, type CD (narrowed down to 2 selections), press ENTER with nothing selected and TCC is gone leaving the other three tabs open in TCMD. I will say though, that it wasn't until my second try that this happened. First attempt didn't crash or do anything else when I had nothing selected in the history window. Here's my GPF.
TCC  13.03.39
EAX=00040006  EBX=7C802446  ECX=7C802600  EDX=03654158
ESI=7E42929A  EDI=00000000  EBP=016EBBC4  ESP=016EB8A8
CS=0000001B  DS=00000023  ES=00000023  SS=00000023
1 : TakeCmd.dll 00000001:000b176a
2 : TakeCmd.dll 00000001:0009fa3e
Similar threads
Thread starter Title Forum Replies Date
R Observations following recent upgrade to TC13 Support 1
millardjk Register TC13 for all users? Support 12
vefatica Documentation Documentation of popup location and size Support 4
vefatica Console popup windows don't work correctly Support 0
vefatica Another popup problem Support 10
vefatica Deleting entries in the command history popup? Support 3
M Call History popup-window? Support 0
D How move cursor out of popup edit control after no match? Support 14
F EDIT FIELD in a popup window Support 2
C Msg Popup window does not close Support 8
C order popup windows as /o:gen ? Support 1
L WAD File-popup Window nearly empty Support 6
N Popup Window size too small Support 5
mikea How to? TCC 15: popup windows; launching Perl scripts Support 10
T Selecting line from popup history without executing Support 8
H Beeps in popup windows Support 17
Jay Sage Improved Edit Control for Directory Popup Support 5
vefatica Positioning @SELECT[] popup? Support 3
vefatica Debugger: popup _VARIABLE values Support 1
M Popup directory history Support 10
B "Windows - No Disk Popup" v63 Support 0
K popup menu size Support 2
A Debug popup Support 1
R History window wrong size, can't remember size change Support 12
R @select inside alias gives different (insanely small) window Support 7
K_Meinhard How to? Help window position Support 7
D Directory History Window with wildcard search Support 3
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
ntak About window size notification Support 6
R Batch Debugger Command Expansion Window Support 3
R How do I get a Git Bash shell to appear in TCC window? Support 7
G Press on another Window Support 24
Peter Murschall IDE: After undocking the command expansion Window is offended Support 2
T TCC Window Background Color Anomaly Support 9
A v25 BC break in WINDOW and ACTIVATE Support 12
vefatica BTM, elevated, console window caption? Support 4
W Hide window Support 7
R How to? START program as top window? Support 2
P No linefeed on last line of console window Support 2
scottb How to? ipconfig output in current window Support 4
R How to? Change TCMD tab font size in window menu Support 3
T Fixed IDE locks up if edit window for running batch is closed Support 6
E How to change window title tcmd window - not tcc window Support 1
jaltman tcmd 21.0.19 win10 16179 console window loses content Support 2
B How to get window status of a running app Support 3
James Miller tcc shell window does not disappear Support 18
D How cut in TCC tab window Support 5
S Paste in TCC/TCMD window is very slow [v20.0.22] Support 13
C How to? Feed keys to firefox (Yahoo Mail) window Support 4

Similar threads