-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Integrated terminal does not render inverted ANSI correctly on Windows #111762
Comments
have you tried changing the renderer type? |
Good question, no I did not. I can try that tomorrow morning. |
@meganrogge I tried this with every renderer type available and the issue persists. It's interesting to know this only occurs on Windows, MacOS and Linux work fine (regardless of the shell). |
relates to #529 relates to #322 relates to #497 Windors terminal and Visual Studio Code do not work well with inversted ANSI sequences. This weak allows users to override the Tranparency to the terminal background color removing black elements in their prompt. Ideally we remove this once they are on par with other terminals, but that could take a while. See microsoft/vscode#111762 and microsoft/terminal#7014
relates to #529 relates to #322 relates to #497 Windors terminal and Visual Studio Code do not work well with inversted ANSI sequences. This weak allows users to override the Tranparency to the terminal background color removing black elements in their prompt. Ideally we remove this once they are on par with other terminals, but that could take a while. See microsoft/vscode#111762 and microsoft/terminal#7014
@meganrogge thanks. It's also been 10 months since I reported this, so good to hear it's fixed in the meantime! |
@meganrogge i initially reported the bug to oh-my-posh VS Code version: Code - Insiders 1.61.0-insider (2dc8b95, 2021-10-06T08:22:53.147Z) System Info
|
I can repro this as well: I believe it's an issue in conpty as @meganrogge would be on a newer version of Windows that ships a newer conpty with bugs fixed. |
@Tyriar confirmed it's fixed in windows 11 |
Version: 1.51.1 (user setup)
Commit: e5a624b
Date: 2020-11-10T23:34:32.027Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:
Write-Host "`e[33;49m`e[7m Hello `e[m`e[0m"
Expected Behavior
The text
Hello
is shown in white on a yellow background.Actual Behavior
The text
Hello
is shown in black on a yellow backgroundDoes this issue occur when all extensions are disabled?: Yes
Relates to JanDeDobbeleer/oh-my-posh#182
The text was updated successfully, but these errors were encountered: