microsoft / microsoft/terminal
Inconsistent terminal color (on startup)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.19.10573.0
### Windows build number
10.0.22631.0
### Other Software
```console
> wsl --version
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3296
```
* Ubuntu 22.04.4 LTS
* ZSH 5.8.1
* [Oh My Zsh](https://ohmyz.sh/) version: `master (0fed366)`
* `ZSH_THEME="bira"`
### Steps to reproduce
I cannot reproduce it 100% reliably, but I do get it fairly regularly (at least once per day).
It typically happens for the first terminal I create after I boot my computer.
### Expected Behavior
If I open multiple panes/tabs/windows, they should all have the same colorscheme (or render the colors the same way).
### Actual Behavior
For the first terminal I create, I get colors that are slightly off. All panes/tabs/windows I create after that have correct colors:

In this example, the upper pane is the first pane and the lower pane was created later.
According to the color picker from PowerToys, these are the colors I get in the screenshot example:
| | Black | White | Green | Blue |
| ------------- | ----- | ------- | ------- | ---- |
| Upper pane | `#0c0c0c`| `#f0f0f0` | `#4be14b` | `#4040bd` |
| Lower pane | `#0c0c0c` | `#f0f0f0` | `#15b40c` | `#3b78ff` |
Node that there is some variation caused by aliasing, so I may have accidentally picked the wrong colors. But it's an honest attempt. 😅
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the first-terminal-after-boot behavior using Windows Terminal 1.19.10573.0, Windows 11 build 22631, WSL 2.1.5.0, Ubuntu 22.04.4, ZSH 5.8.1, and the Oh My Zsh bira theme. Compare the initial pane's colors with panes created afterward; done means identifying and correcting the cause of the inconsistent rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- zsh
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100