New 0.11 VT colors bug, background color isn't applied to " " (space) cells #7595

Open
opened 2026-01-31 01:08:19 +00:00 by claunia · 0 comments
Owner

Originally created by @PhMajerus on GitHub (Apr 23, 2020).

Originally assigned to: @zadjii-msft on GitHub.

In Windows Terminal 0.11.1121.0, a new VT colors bug has been introduced.

When output contains VT escape sequences to set the background color, they are handled properly while the output is in the visible buffer viewport, but stops being applied to cells containing spaces when the output has to scroll to show the result.

The command used for repro is the following:
echo -e "\e[m\r\n\e[44;32m # \e[m#"
(4 spaces before first #, and 9 spaces after, GitHub HTML rendering swallows the extra spaces)

It reliably works fine until you reach the last line of the viewport, then the background color stops after the first # character:
WT 0 11 VT colros bug

Just make sure you repeat the command until you reach the bottom of the viewport.

Originally created by @PhMajerus on GitHub (Apr 23, 2020). Originally assigned to: @zadjii-msft on GitHub. In Windows Terminal 0.11.1121.0, a new VT colors bug has been introduced. When output contains VT escape sequences to set the background color, they are handled properly while the output is in the visible buffer viewport, but stops being applied to cells containing spaces when the output has to scroll to show the result. The command used for repro is the following: `echo -e "\e[m\r\n\e[44;32m # \e[m#"` (4 spaces before first #, and 9 spaces after, GitHub HTML rendering swallows the extra spaces) It reliably works fine until you reach the last line of the viewport, then the background color stops after the first # character: ![WT 0 11 VT colros bug](https://user-images.githubusercontent.com/25664275/80131257-3e9a9f80-859a-11ea-9f00-4094399239a3.png) Just make sure you repeat the command until you reach the bottom of the viewport.
claunia added the Resolution-Fix-CommittedArea-RenderingIssue-BugProduct-Conpty labels 2026-01-31 01:08:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7595