Colors sometimes disappear from the current line #21434

Closed
opened 2026-01-31 07:44:35 +00:00 by claunia · 2 comments
Owner

Originally created by @thomaslevesque on GitHub (Mar 25, 2024).

Windows Terminal version

1.19.10573.0

Windows build number

10.0.22631.0

Other Software

Oh My Posh: 19.18.1

Steps to reproduce

In a Powershell terminal using Oh My Posh with a colored PowerLine prompt, just resize or maximize the window.
Before resizing:
image
After resizing:
image

Expected Behavior

The colors should stay as they are

Actual Behavior

The colors disappear

It doesn't happen every time, but most of the time. Sometimes is also seems to happen randomly without resizing.

Not 100% sure it's Terminal's fault. I guess it might be a bug in Oh My Posh; I don't see this issue in a WSL terminal. On the other hand, I also don't see this issue in the Console Host with Powershell + Oh My Posh.

Originally created by @thomaslevesque on GitHub (Mar 25, 2024). ### Windows Terminal version 1.19.10573.0 ### Windows build number 10.0.22631.0 ### Other Software [Oh My Posh](https://ohmyposh.dev/): 19.18.1 ### Steps to reproduce In a Powershell terminal using Oh My Posh with a colored PowerLine prompt, just resize or maximize the window. Before resizing: ![image](https://github.com/microsoft/terminal/assets/1864281/412fe326-7514-41b6-bbd6-1fe05981a016) After resizing: ![image](https://github.com/microsoft/terminal/assets/1864281/7121116d-5345-4fe7-9024-5c172472d858) ### Expected Behavior The colors should stay as they are ### Actual Behavior The colors disappear It doesn't happen every time, but most of the time. Sometimes is also seems to happen randomly without resizing. Not 100% sure it's Terminal's fault. I guess it might be a bug in Oh My Posh; I don't see this issue in a WSL terminal. On the other hand, I also don't see this issue in the Console Host with Powershell + Oh My Posh.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:44:35 +00:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2024):

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@github-actions[bot] commented on GitHub (Mar 25, 2024): Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! ### Open similar issues: - [Resizing terminal window destroys both powerline formatting and text layout (#16077)](https://github.com/microsoft/terminal/issues/16077), similarity score: 0.78 ### Closed similar issues: - [Teminal doesn't preserve colored blocks of characters. (#4300)](https://github.com/microsoft/terminal/issues/4300), similarity score: 0.76 - [Neofetch colors don't withstand resize (#7217)](https://github.com/microsoft/terminal/issues/7217), similarity score: 0.76 - [background colors extend to end of line when window is resized (#11936)](https://github.com/microsoft/terminal/issues/11936), similarity score: 0.76 - [Terminal content goes missing when resizing (powershell/conpty) (#4640)](https://github.com/microsoft/terminal/issues/4640), similarity score: 0.76 > Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Author
Owner

@thomaslevesque commented on GitHub (Mar 25, 2024):

Guess that's a duplicate of #16077, will close

@thomaslevesque commented on GitHub (Mar 25, 2024): Guess that's a duplicate of #16077, will close
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21434