-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Closed
Labels
Description
Type: Bug
If an ANSI background color is used, foreground text is black despite ANSI color codes that request it be white.
$ printf '\e[30m fg-black \e[37m fg-white \e[90m fg-intense-black \e[97m intense white \e[0m \n'
fg-black fg-white fg-intense-black intense white
$ printf '\e[41m \e[30m fg-black \e[37m fg-white \e[90m fg-intense-black \e[97m intense white \e[0m \n'
fg-black fg-white fg-intense-black intense white
VS Code version: Code 1.104.1 (Universal) (0f0d87f, 2025-09-17T23:36:24.973Z)
OS version: Darwin x64 22.6.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 2, 3, 3 |
| Memory (System) | 16.00GB (0.19GB free) |
| Process Argv | --crash-reporter-id 1df3101a-33fa-4905-9eea-ecc0614db8b3 |
| Screen Reader | no |
| VM | 0% |
Extensions (47)
| Extension | Author (truncated) | Version |
|---|---|---|
| adblock | adg | 1.1.17 |
| iced-tea | Alf | 1.3.0 |
| gitignore | cod | 0.10.0 |
| vscode-eslint | dba | 3.0.16 |
| EditorConfig | Edi | 0.17.4 |
| elvish | elv | 0.4.2 |
| prettier-vscode | esb | 11.0.0 |
| copilot | Git | 1.372.0 |
| copilot-chat | Git | 0.31.1 |
| remotehub | Git | 0.64.0 |
| vscode-github-actions | git | 0.27.2 |
| gc-excelviewer | Gra | 4.2.64 |
| vscode-graphql-syntax | Gra | 1.3.8 |
| hello-kitty-theme | Hel | 1.5.0 |
| better-lisp-syntax | jef | 0.0.2 |
| better-shellscript-syntax | jef | 1.10.0 |
| xonsh | jno | 0.3.3 |
| AWK | lug | 0.0.2 |
| vscode-containers | ms- | 2.1.0 |
| python | ms- | 2025.14.0 |
| vscode-python-envs | ms- | 1.8.0 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| remote-containers | ms- | 0.427.0 |
| remote-ssh | ms- | 0.120.0 |
| remote-ssh-edit | ms- | 0.87.0 |
| remote-wsl | ms- | 0.104.2 |
| vscode-remote-extensionpack | ms- | 0.26.0 |
| cmake-tools | ms- | 1.21.36 |
| cpptools | ms- | 1.27.7 |
| cpptools-extension-pack | ms- | 1.3.1 |
| live-server | ms- | 0.4.16 |
| remote-explorer | ms- | 0.5.0 |
| remote-repositories | ms- | 0.42.0 |
| remote-server | ms- | 1.5.3 |
| vsliveshare | ms- | 1.0.5959 |
| vscode-template-literal-editor | pli | 0.10.0 |
| text-utils | qux | 1.2.0 |
| vscode-yaml | red | 1.18.0 |
| vscode-sort-json | ric | 1.20.0 |
| gitconfig | sid | 2.0.1 |
| fish-vscode | sky | 0.2.1 |
| bunker | sld | 1.1.6 |
| code-spell-checker | str | 4.2.6 |
| even-better-toml | tam | 0.21.2 |
| vscode-nushell-lang | The | 1.10.0 |
| gitblame | wad | 11.2.0 |
| vscode-todo-highlight | way | 1.0.5 |
(10 theme extensions excluded)
/similar #121107 #151719 #197295
Seems various themes all have the same problem (foreground colour is no longer properly respected) however it manifests in different ways for different themes:
Here is what it should look like, via Terminal.app:
Via Ghostty: