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
Windows build number: Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0
Windows Terminal version (if applicable): 1.5.10271.0
Steps to reproduce
If you execute this code peace than you see yellow text with white background instead of yellow text with black background.
Write-Host"TextToOutput"-ForegroundColor Yellow -BackgroundColor Black
Expected behavior
Yellow text with black background.
Actual behavior
Yellow text with white background.
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
Feb 11, 2021
Unfortunately, this is by design. PowerShell erroneously tells us to use a black background so often that it would cause there to be black streaks across the display (even if the terminal background was set to white or acrylic transparency.)
We had to disable black for PowerShell, specifically. #6810. Tracking the "fix" in /dup #6807.
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
Feb 11, 2021
I presume it is caused by #6810, i.e. PowerShell asks for a black background when it really wants a default background, and Windows Terminal tries to work around that by recognising the powershell.exe name and giving it the default background when it asks for a black background.
Environment
Steps to reproduce
If you execute this code peace than you see yellow text with white background instead of yellow text with black background.
Expected behavior
Yellow text with black background.
Actual behavior
Yellow text with white background.
The text was updated successfully, but these errors were encountered: