Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Anyone else seeing this?

Charles Dye

Super Moderator
May
5,303
157
Staff member
Whenever I run TCC v33 in a standalone console window, I always get a horizontal scroll bar, because the window is always one column narrower than the buffer:

Console-horz-scrollbar.webp


I've tried fiddling the shortcut console settings; no effect. Tried running TCC v32 from the Start/Run dialog; same thing. If I change the shortcut to point to TCC v32 instead of v33, the horizontal scrollbar goes away. Point it back to TCC v33, it returns. Weird.
 
I don't see it on Windows 10.

Did you have the same plugins in v32 and v33? Did you try it without plugins? What's in HKCU\Console ... anything significant?
 
Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  33.00.15 x64   Windows 10 [Version 10.0.19045.5011]
1730386256542.webp

No horizontal scroll bar here.
1730386649044.webp


Joe
 
Grrrrrr. Why do I get all the weird issues that nobody else has?

This is on two separate machines. It's not plugins. Disabling .INI file processing with /II makes the issue go away — but I haven't been able to narrow it down to any specific line in my .INI file. With even an empty, 0-byte .INI file, I still get the one-column-too-narrow window and the horizontal scrollbar.
 
Try this:
1. Close all consoles you could reach.
2. Rename HKCU\Console key.
3. Restart the system.

See if your issue persists.
 
Try this:
1. Close all consoles you could reach.
2. Rename HKCU\Console key.
3. Restart the system.

See if your issue persists.

Clever... but no, it didn't make any difference.

Weirder yet: I can start a CMD.EXE session, get a properly-sized console window with no horizontal scroll bar. Start TCC v33 within CMD.EXE, and pow: horizontal scrollbar. I am baffled.
 
Weirder yet: I can start a CMD.EXE session, get a properly-sized console window with no horizontal scroll bar. Start TCC v33 within CMD.EXE, and pow: horizontal scrollbar. I am baffled.
What happens when you do that? Does the window get smaller or does the console screen buffer get bigger?

I don't know what it might reveal, but what if you find WT's OpenConsole.exe and run TCC in it? [path]\openconsole.exe [path]\tcc.exe ought to work.
 
What happens when you do that? Does the window get smaller or does the console screen buffer get bigger?

The window shrinks, by just a few pixels, in either direction. Just enough to knock one column off the right, creating a horizontal scrollbar — which of course then reduces the viewable area by one row.

The real question, I guess, is why this happens only to me, and not to anybody else.

I don't know what it might reveal, but what if you find WT's OpenConsole.exe and run TCC in it? [path]\openconsole.exe [path]\tcc.exe ought to work.

No size change in OpenConsole. I don't suppose TCC is aware of OpenConsole at all.
 
Except for subtle and undocumented differences (which I can't list because I don't know them) OpenConsole acts like conhost.exe when used outside WT. TCC wouldn't be aware unless it tried to figure out who's providing its console. The fact that you don't see the problem with OpenConsole.exe makes this even more interesting.
 
Back
Top