Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal and ColorTool #15995

Closed
Babscoole opened this issue Sep 19, 2023 · 2 comments
Closed

Terminal and ColorTool #15995

Babscoole opened this issue Sep 19, 2023 · 2 comments
Labels
Issue-Question For questions or discussion Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Answered Related to questions that have been answered

Comments

@Babscoole
Copy link

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

@Babscoole Babscoole added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Sep 19, 2023
@Babscoole
Copy link
Author

Babscoole commented 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

@lhecker
Copy link
Member

lhecker commented 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 lhecker closed this as not planned Won't fix, can't repro, duplicate, stale Sep 19, 2023
@lhecker lhecker added Resolution-Answered Related to questions that have been answered Issue-Question For questions or discussion and removed Issue-Bug It either shouldn't be doing this or needs an investigation. labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question For questions or discussion Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

2 participants