Update color scheme for any tab/pane on the fly #8501

Closed
opened 2026-01-31 01:31:04 +00:00 by claunia · 5 comments
Owner

Originally created by @hectormz on GitHub (May 22, 2020).

Description of the new feature/enhancement

I'd like to be able to set the color scheme for any tab or pane I have open in Windows Terminal with a command. If I'm temporarily opening multiple instances of the same profile, I'd like to distinguish them by setting the color scheme for that instance to any of the available color schemes I have. The alternative to this would be to go into settings and duplicate profiles, but with different color schemes etc.

I don't believe this has been raised here so far. If it's possible, I have not found it in any documentation yet.

Proposed technical implementation details (optional)

I think this is not yet possible because I don't think are Windows Terminal commands from within Windows Terminal yet. I know you can run wt.exe with some options to configure how a new instance of Windows Terminal is launched.

Assuming there will be a single executable for commands in the future from within Windows Terminal, something like:

<executable.exe> --color "Campbell"

would be nice.

Or even:

wt-color "Campbell"
Originally created by @hectormz on GitHub (May 22, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> I'd like to be able to set the color scheme for any tab or pane I have open in Windows Terminal with a command. If I'm temporarily opening multiple instances of the same profile, I'd like to distinguish them by setting the color scheme for that instance to any of the available color schemes I have. The alternative to this would be to go into settings and duplicate profiles, but with different color schemes etc. I don't believe this has been raised here so far. If it's possible, I have not found it in any documentation yet. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> I think this is not yet possible because I don't think are Windows Terminal commands from within Windows Terminal yet. I know you can run `wt.exe` with some options to configure how a new instance of Windows Terminal is launched. Assuming there will be a single executable for commands in the future from within Windows Terminal, something like: ``` <executable.exe> --color "Campbell" ``` would be nice. Or even: ``` wt-color "Campbell" ```
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 01:31:05 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 22, 2020):

So, colortool can't quite yet read color schemes that you have installed in the terminal settings, but I think you can usually find a colortool compatible version of most colorshemes for the Terminal.

Then the workflow with colortool is just colortool -x Campbell.

Then there's also #4472 for "run commands in the current window", and #5401 for "add a shortcut action to switch to a specific color scheme", which will then pair well with #2046/#5400 for "I want to be able to run an action in the current window" (from the command palette). All those together will combine to let you do something like Ctrl+shift+P, "Change colorscheme", (pick the colorscheme), similar to how vscode works.

Does any of that sound like what you're looking for?

@zadjii-msft commented on GitHub (May 22, 2020): So, [colortool ](https://github.com/microsoft/terminal/tree/master/src/tools/ColorTool)can't quite yet read color schemes that you have installed in the terminal settings, but I think you can usually find a colortool compatible version of most colorshemes for the Terminal. Then the workflow with colortool is just `colortool -x Campbell`. Then there's also #4472 for "run commands in the current window", and #5401 for "add a shortcut action to switch to a specific color scheme", which will then pair well with #2046/#5400 for "I want to be able to run an action in the current window" (from the command palette). _All_ those together will combine to let you do something like <kbd>Ctrl+shift+P</kbd>, "Change colorscheme", (pick the colorscheme), similar to how vscode works. Does any of that sound like what you're looking for?
Author
Owner

@hectormz commented on GitHub (May 22, 2020):

@zadjii-msft thanks for all the details and links!
I think colortool would help me to start.

#4472/#5401 is more ideal, and picking colorscheme from a command palette would be most ideal.

I have some custom schemes in Terminal settings that would be nice to use instead of figuring out how to hook them up with colortool.

@hectormz commented on GitHub (May 22, 2020): @zadjii-msft thanks for all the details and links! I think `colortool` would help me to start. #4472/#5401 is more ideal, and picking colorscheme from a command palette would be most ideal. I have some custom schemes in Terminal settings that would be nice to use instead of figuring out how to hook them up with `colortool`.
Author
Owner

@amapianosa commented on GitHub (May 23, 2020):

lets see how it goes

@amapianosa commented on GitHub (May 23, 2020): lets see how it goes
Author
Owner

@j4james commented on GitHub (May 24, 2020):

The idea of having the colortool read schemes from the Terminal settings was suggested once before in issue https://github.com/microsoft/terminal/issues/3687#issuecomment-558175555.

@j4james commented on GitHub (May 24, 2020): The idea of having the colortool read schemes from the Terminal settings was suggested once before in issue https://github.com/microsoft/terminal/issues/3687#issuecomment-558175555.
Author
Owner

@zadjii-msft commented on GitHub (May 27, 2020):

Okay, since the above solutions sound good, I'll close this in favor of the linked threads. Thanks!

@zadjii-msft commented on GitHub (May 27, 2020): Okay, since the above solutions sound good, I'll close this in favor of the linked threads. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8501