Terminal and ColorTool #20514

Closed
opened 2026-01-31 07:16:14 +00:00 by claunia · 2 comments
Owner

Originally created by @Babscoole on GitHub (Sep 19, 2023).

Windows Terminal version

multiple

Windows build number

multiple

Other Software

No response

Steps to reproduce

We have a batch based console app. Trying to use ColorTool to set a custom scheme for use when our batch runs. When Windows Console host is set as the default console, ColorTool can read and display the colors we've set in the .ini just fine. When default console is set to Terminal, it's ignored and not used.

Expected Behavior

Specified .ini is used for Terminal

Actual Behavior

Specified .ini is not used for Terminal

Originally created by @Babscoole on GitHub (Sep 19, 2023). ### Windows Terminal version multiple ### Windows build number multiple ### Other Software _No response_ ### Steps to reproduce We have a batch based console app. Trying to use ColorTool to set a custom scheme for use when our batch runs. When Windows Console host is set as the default console, ColorTool can read and display the colors we've set in the .ini just fine. When default console is set to Terminal, it's ignored and not used. ### Expected Behavior Specified .ini is used for Terminal ### Actual Behavior Specified .ini is not used for Terminal
claunia added the Issue-QuestionNeeds-TriageResolution-Answered labels 2026-01-31 07:16:15 +00:00
Author
Owner

@Babscoole commented on GitHub (Sep 19, 2023):

This is when default console is set to Windows Console Host. Displays and uses the custom scheme we want:

When default console is set to Console Host

This is when default console is set to Terminal. Does not display and use the custom scheme we want:

When default console is set to Terminal

@Babscoole commented on GitHub (Sep 19, 2023): This is when default console is set to Windows Console Host. Displays and uses the custom scheme we want: ![When default console is set to Console Host](https://github.com/microsoft/terminal/assets/82686995/7adc8169-b356-4a73-9dd2-846160e4799c) This is when default console is set to Terminal. Does not display and use the custom scheme we want: ![When default console is set to Terminal](https://github.com/microsoft/terminal/assets/82686995/db1fc6f3-7fda-4035-9b4f-2db57bceaefa)
Author
Owner

@lhecker commented on GitHub (Sep 19, 2023):

This is due to #2985.

You need to run colortool.exe with either the --xterm or -x parameter. This works on Windows 10 build 17048 and later for both the old console window and the new Windows Terminal.

@lhecker commented on GitHub (Sep 19, 2023): This is due to #2985. You need to run `colortool.exe` with either the `--xterm` or `-x` parameter. This works on Windows 10 build 17048 and later for both the old console window and the new Windows Terminal.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20514