-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VT color displayed on Windows Terminal leaks to the rest of line when resizing the terminal window #11742
Comments
@daxian-dbw |
I'm afraid this is a known problem. Second oldest open issue in the repo actually. See #32. Technically that's tagged as a conhost issue, but that's only because it was a couple of year before Windows Terminal was even released. I'm fairly certain the underlying cause is the same in both conhost and WT. |
/dup #32
Alas, it's a combination of "It's a hard bug to fix" combined with "it's not that impactful". If anyone's got clever ideas of how to solve that, we're all ears! We suspect it'll just get better when #8000 is finished as well, though it's anyone's guess when that'll be done. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Windows Terminal version (or Windows build number)
1.12.2931.0
Other Software
This is not related to the application that uses Windows Terminal. You can reproduce this with bash in WSL or PowerShell.
Steps to reproduce
In PowerShell, do the following:
"`e[44;1mYEAH YEAH YEAH YEAH`e[0m"
Similar in bash in WSL:
Expected Behavior
Given that the string written out ends with
ESC[0m
to unset all attributes, the color should not leak to the rest of line when resizing window.Actual Behavior
The color gets leaked to the rest of line when resizing happens.
The text was updated successfully, but these errors were encountered: