-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Foreground text colours do not work if the font is Source Code Pro after update to latest preview build #13989
Copy link
Copy link
Closed
Labels
Area-AtlasEngineArea-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesIn-PRThis issue has a related PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.
Milestone
Description
Windows Terminal version
1.16.2524.0
Windows build number
10.0.22621.0
Other Software
No response
Steps to reproduce
- Launch Window Terminal Preview
- Open a tab with any shell (PowerShell, WSL, cmd.exe)
- Run a command that should output coloured text
Expected Behavior
See coloured text.
Actual Behavior
White text on a black background.
My colour scheme is the default ('Campbell').
It appears as if background colours work, but foreground do not. Running the following test:
python3 -c "print('\t'.join(f'\u001b[1;38;5;{s}m{s.ljust(4)}' + ('\n' if not int(s) % 8 else '') for s in (str(i) for i in range(256))) + '\u001b[0m')"
In the release version of Windows Terminal gives this output:
In the preview version gives this:
Background colours work fine though. Running this test gives this output:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-AtlasEngineArea-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesIn-PRThis issue has a related PRThis issue has a related PRIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-TerminalThe new Windows Terminal.The new Windows Terminal.

