BUG REPORT: Terminal doesn't keep cmd.exe's color setting #3411

Closed
opened 2026-01-30 23:20:40 +00:00 by claunia · 1 comment
Owner

Originally created by @MikeTheGreat on GitHub (Aug 14, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.295]
Windows Terminal version (if applicable): Windows Terminal (Preview) Version: 0.3.2171.0

Any other software?
cmd.exe

Steps to reproduce

  1. Start WT using cmd.exe
  2. Type in a command to change the background color, such as color 90 (light blue background, black text)
  3. Observe with satisfaction that the screen turns blue, with black text
  4. Hit the enter/return key a couple of times
  5. Look on in disappointment as you see that all the new lines you just added kept the original background color instead of using the blue background with black text like we told cmd.exe.

Expected behavior

The entire screen should have a blue background, with black text
(This would be consistent with what cmd.exe does on it's own)

Actual behavior

The new lines keep the original background color instead of keeping the blue background with black text.
It's worth noting that the parts of the lines that cmd.exe prints (such as the prompt) are formatted correctly - blue bg with black fg

Originally created by @MikeTheGreat on GitHub (Aug 14, 2019). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.295] Windows Terminal version (if applicable): Windows Terminal (Preview) Version: 0.3.2171.0 Any other software? cmd.exe ``` # Steps to reproduce 1. Start WT using `cmd.exe` 2. Type in a command to change the background color, such as `color 90` (light blue background, black text) 3. Observe with satisfaction that the screen turns blue, with black text 4. Hit the enter/return key a couple of times 5. Look on in disappointment as you see that all the new lines you just added kept the original background color instead of using the blue background with black text like we told `cmd.exe`. # Expected behavior The entire screen should have a blue background, with black text (This would be consistent with what cmd.exe does on it's own) # Actual behavior The new lines keep the original background color instead of keeping the blue background with black text. It's worth noting that _the parts of the lines that cmd.exe prints (such as the prompt) are formatted correctly - blue bg with black fg_
claunia added the Needs-TriageResolution-Duplicate labels 2026-01-30 23:20:40 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 14, 2019):

Thanks! This is some of #2089 and #832 and #1036.

@DHowett-MSFT commented on GitHub (Aug 14, 2019): Thanks! This is some of #2089 and #832 and #1036.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3411