Welcome!

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

SignUp Now!

SELECT highlight color white on white

Jun
877
18
I just upgraded from 36.52.81 to

TCC 36.52.87 x64 Windows 11 [Version 10.0.26200.9168]

In the old version. the highlight color for SELECT was white on black in a ConPTY tab in Take Command. Now it is white on white. I tried changing the ConPTY Tabs BG Selected color, but no effect. In TCC Options, I have ANSI colors checked and Selected set to Default; I tried changing the Selected colors, but this had no effect.
 
Neither SelectColors" nor "SelectStatBarColors" is set in TCMD.INI. If I rename TCMD.INI, the text in the Take Command tab is gray on black and the SELECT highlight is black on gray.
 
FWIW, I have these, all zeroes because I specified "Default" in the OPTION dialog. I don't know how they work otherwise.

TabPtySelectedFGColor=000000
TabPtySelectedBGColor=000000
 
I have

TabPtyFGColor=000000
TabPtyBGColor=ffffff
TabPtyCursorLineFGColor=000000
TabPtyCursorLineBGColor=000000
TabPtySelectedFGColor=000000
TabPtySelectedBGColor=000000

Text is black on white. If I select text with the mouse, the text is white on black. The SELECT highlight is still white on white. I just changed it to

TabPtyFGColor=000000
TabPtyBGColor=ffffff
TabPtyCursorLineFGColor=000000
TabPtyCursorLineBGColor=000000
TabPtySelectedFGColor=ffffff
TabPtySelectedBGColor=000000

This didn't change anything that I can see.
 
The selection highlight in SELECT is the same as the status bar color:

Code:
option //SelectStatBarColors=bri whi on blu
select echo ( * )
 
That works for blue, but

Code:
option //SelectStatBarColors=bri whi on black

gives white on white. I could live with blue. How do you set it in the ini file?
 
That works for blue, but

Code:
option //SelectStatBarColors=bri whi on black

gives white on white. I could live with blue. How do you set it in the ini file?

Code:
SelectStatBarColors=bri whi on blue

It goes in the 4NT section.
 
Rex: I'm not sure what you are suggesting I do. Charles's suggestion works. "SelectStatBarColors=Bright White on Green" works and is a nice color combo.
 
I'm not clear on how these newfangled "default" foreground and background colors appear to the old-style, 16-color EGA-type calls. As duplicated nybbles, like 0x00 or 0x11? I can see how that would lead to problems in older, non-ConPTY-aware commands like SELECT.
 
I put "SelectColors=black on bright white" in my tcmd.ini and removed SelectStatBarColors. Attached are what dir and select look like. For the latter, the highlight is on the line under Foo and above epsilon.ses.
 

Attachments

  • DirScreenshot.webp
    DirScreenshot.webp
    46.7 KB · Views: 13
  • SelectScreenshot.webp
    SelectScreenshot.webp
    33.9 KB · Views: 13
I don't know what the default console palette is.

I did change the colors in Windows Terminal to try to make TCC have a sensible color scheme (something like black on white). The color scheme is set to One Half Light (at least that one says "default") and the application scheme to Light. I don't see a Profile for TCC, so presume it is using the "Defaults" one (which says One Half Light). I only fiddled with it for a short while since I usually use Take Command, but did want TCC to have something similar to black on white. The Windows Terminal color settings seem too complicated.

I'm happy with the SelectStatBarColors setting.
 
I put "SelectColors=black on bright white" in my tcmd.ini and removed SelectStatBarColors. Attached are what dir and select look like. For the latter, the highlight is on the line under Foo and above epsilon.ses.

Note that in the screenshot above, both the selection highlight and the status bar are invisible.

I'm pretty sure that SELECT uses SelectStatBarColors for the selection highlight if it's defined, and falls back on reversing the default colors when SelectStatBarColors is not defined.
 
Setting SelectStatBarColors does set both the selection highlight and the status bar at the top. It seems to do exactly what I want.
 
Back
Top