Unexpected ANSI sequence behavior in cmd.exe #17636

Open
opened 2026-01-31 05:48:30 +00:00 by claunia · 0 comments
Owner

Originally created by @Zeek05 on GitHub (Jun 5, 2022).

Windows Terminal version

No response

Windows build number

Microsoft Windows [Version 10.0.22000.675]

Other Software

cmd.exe

Steps to reproduce

Apply any SGR sequence that affects character attributes in cmd.

Expected Behavior

IMG_9665

LEFT: You can see that the ANSI escape sequences in Windows Terminal are working as intended.

Actual Behavior

RIGHT: These changes are not propagating to CMD.exe, resizing the screen creates this bleeding effect.

This issue is related to #32

Originally created by @Zeek05 on GitHub (Jun 5, 2022). ### Windows Terminal version _No response_ ### Windows build number Microsoft Windows [Version 10.0.22000.675] ### Other Software cmd.exe ### Steps to reproduce Apply any SGR sequence that affects character attributes in cmd. ### Expected Behavior ![IMG_9665](https://user-images.githubusercontent.com/61340927/172073492-c08616b5-00cb-41bd-a573-899bc12ea869.png) **LEFT:** You can see that the ANSI escape sequences in Windows Terminal are working as intended. ### Actual Behavior **RIGHT**: These changes are not propagating to CMD.exe, resizing the screen creates this bleeding effect. This issue is related to #32
claunia added the Issue-BugResolution-DuplicateProduct-Terminal labels 2026-01-31 05:48:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17636