microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.07k stars 29.21k forks source link

ANSI Escape Sequence (displaying true color) didn't work on Terminal #231628

Open ylazy opened 2 weeks ago

ylazy commented 2 weeks ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

The ANSI Escape sequence didn't work as expected on Terminal panel. RGB Color didn't work, but Bold or Dim are fine. See the screenshot bellow.

The same output, Debug Console displayed correctly:

Image

But Terminal displayed incorrectly:

Image

ylazy commented 2 weeks ago

I tried these settings but the problem still remains:

"terminal.integrated.drawBoldTextInBrightColors": false,
"terminal.integrated.minimumContrastRatio": 1,
ylazy commented 2 weeks ago

simple test:

type hello.txt

download hello.txt

Image

reaby commented 2 weeks ago

vscode for WSL2: ansi not working in "DEBUG CONSOLE", but works nicely on terminal:

DEBUG CONSOLE: Image

TERMINAL: Image