You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft Windows NT 10.0.19041.0
Windows Terminal Version: 1.0.1401.0
WSLtty Version: 3.1.4.2
Steps to reproduce
Enable the solarized light theme (add "colorScheme": "Solarized Light" to WSL profile).
Open Windows Terminal WSL console.
Execute the following printf "\033[49;39mDEFBG-DEFFG\033[40;39mCOLOR0-DEFFG\033[0m\n".
Expected behavior
The expected behavior is demonstrated by executing the printf command listed in steps to reproduce in wsltty, using the color configuration listed below.
ForegroundColour=101,123,131 # base00, #657b83BackgroundColour=253,246,227 # base3, #fdf6e3CursorColour=38,139,210 # blue, #268bd2# Solarized colors for (min|wsl)tty.# Color 0Black=7,54,66 # base02, #073642# Color 1Red=220,50,47 # red, #dc322f# Color 2Green=133,153,0 # green, #859900# Color 3Yellow=181,137,0 # yellow, #b58900# Color 4Blue=38,139,210 # blue, #268bd2# Color 5Magenta=211,54,130 # magenta, #d33682# Color 6Cyan=42,161,152 # cyan, #2aa198# Color 7White=238,232,213 # base2, #eee8d5# Color 8BoldBlack=0,43,54 # base03, #002b36# Color 9BoldRed=203,75,22 # orange, #cb4b16# Color 10BoldGreen=88,110,117 # base01, #586e75# Color 11BoldYellow=101,123,131 # base00, #657b83# Color 12BoldBlue=131,148,150 # base0, #839496# Color 13BoldMagenta=108,113,196 # violet, #6c71c4# Color 14BoldCyan=147,161,161 # base1, #93a1a1# Color 15BoldWhite=253,246,227 # base3, #fdf6e3
The result was the following:
The command colortest-8 can also be used to see the issue, by looking at the reverse section. In wsltty the reverse section is as follows.
Actual behavior
The actual behavior is that the default background color seems to be written to color0 ("black" in the color scheme). See the outcome of the printf command listed in steps to reproduce executed in a Windows Terminal WSL console below.
Note that the default background color in the image is the same as color0, even though the Solarized Light scheme defines them to be different colors. This can also be seen in the output of colortest-8, where the background of the header of each row in the reverse section should be gray, and the background of the color named fields in the first row of the reverse section should be whatever the "black" color is set to, as seen below.
I also tried creating my own color scheme by copying the Solarized Light scheme, and making sure the background, foreground, and black (color0) colors were set (see scheme below). The results were the same as using the built in Solarized Light.
I think that's it, please let me know if you need more information.
The text was updated successfully, but these errors were encountered:
ghost
added
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Needs-Tag-Fix
Doesn't match tag requirements
labels
Jun 1, 2020
Thanks for the report! This is another version of #293 -- we were changing the palette in legacy applications for compatibility reasons. We'll be fixing that shortly.
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
ghost
added
Resolution-Duplicate
There's another issue on the tracker that's pretty much the same thing.
and removed
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Needs-Tag-Fix
Doesn't match tag requirements
labels
Jun 1, 2020
Environment
Steps to reproduce
Enable the solarized light theme (add "colorScheme": "Solarized Light" to WSL profile).
Open Windows Terminal WSL console.
Execute the following
printf "\033[49;39mDEFBG-DEFFG\033[40;39mCOLOR0-DEFFG\033[0m\n"
.Expected behavior
The expected behavior is demonstrated by executing the
printf
command listed in steps to reproduce inwsltty
, using the color configuration listed below.The result was the following:
The command
colortest-8
can also be used to see the issue, by looking at the reverse section. Inwsltty
the reverse section is as follows.Actual behavior
The actual behavior is that the default background color seems to be written to color0 ("black" in the color scheme). See the outcome of the
printf
command listed in steps to reproduce executed in a Windows Terminal WSL console below.Note that the default background color in the image is the same as color0, even though the Solarized Light scheme defines them to be different colors. This can also be seen in the output of
colortest-8
, where the background of the header of each row in the reverse section should be gray, and the background of the color named fields in the first row of the reverse section should be whatever the "black" color is set to, as seen below.I also tried creating my own color scheme by copying the Solarized Light scheme, and making sure the background, foreground, and black (color0) colors were set (see scheme below). The results were the same as using the built in Solarized Light.
I think that's it, please let me know if you need more information.
The text was updated successfully, but these errors were encountered: