Ansi color 243 hard-wired to color 8 (brightBlack) #6505

Open
opened 2026-01-31 00:40:32 +00:00 by claunia · 0 comments
Owner

Originally created by @9Rune5 on GitHub (Feb 18, 2020).

Environment

Windows build number: 10.0.18363.0
Windows Terminal version (if applicable): 0.9.433.0

Steps to reproduce

testcolor.txt

testcolor.txt is a file containing ansi codes. Bottom line is a greyscale.

  1. (from the command line) type testcolor.txt
  2. Change "brightBlack" of the current colour scheme
    "brightBlack":"#555555"

Expected behavior

Ansi color 243 should not change.

"232-255: grayscale from black to white in 24 steps" (https://en.wikipedia.org/wiki/ANSI_escape_code)

The old console host works as expected.

Actual behavior

Ansi color 243 is hard-wired to color 8.

Originally created by @9Rune5 on GitHub (Feb 18, 2020). # Environment ```none Windows build number: 10.0.18363.0 Windows Terminal version (if applicable): 0.9.433.0 ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> [testcolor.txt](https://github.com/microsoft/terminal/files/4218164/testcolor.txt) testcolor.txt is a file containing ansi codes. Bottom line is a greyscale. 1. (from the command line) `type testcolor.txt` 2. Change "brightBlack" of the current colour scheme "brightBlack":"#555555" # Expected behavior Ansi color 243 should not change. "232-255: grayscale from black to white in 24 steps" (https://en.wikipedia.org/wiki/ANSI_escape_code) The old console host works as expected. # Actual behavior Ansi color 243 is hard-wired to color 8.
claunia added the Resolution-Duplicate label 2026-01-31 00:40:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6505