Skip to content
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

Windows: Integrated terminal displays incorrect background color after ANSI attribute reset code #47878

Closed
wavebeem opened this issue Apr 14, 2018 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal General terminal issues that don't fall under another label

Comments

@wavebeem
Copy link

Issue Type: Bug

  • Start Visual Studio Code on Windows 10 with bash installed
  • Open the integrated terminal
  • Run bash
  • Run echo -e "\033[0m"

Expected output

The terminal looks the same

Actual output

All text has a strange background color now

NOTE

This seems reproducible across every theme I've used, but in particular the default "Light+" theme is incredibly hard to read after this bug occurs

I have not found any workarounds for the bug yet besides "Kill Terminal"

image

VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 x 4200)
Memory (System) 15.93GB (7.65GB free)
Process Argv C:\Program Files\Microsoft VS Code\Code.exe D:\w\pkmn.help
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
vscode-simpler-icons dav 1.5.2
vscode-eslint dba 1.4.8
vscode-npm-script eg2 0.3.3
prettier-vscode esb 1.3.0
vscode-simple-icons Lau 1.8.2
python ms- 2018.3.1
PowerShell ms- 1.6.0
sublime-keybindings ms- 3.0.3
vscode-sort-json ric 1.11.0
trailing-spaces sha 0.2.11
rewrap stk 1.8.1

(1 theme extensions excluded)

@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label Apr 14, 2018
@Tyriar
Copy link
Member

Tyriar commented Apr 14, 2018

Tracked in #45693

@Tyriar Tyriar closed this as completed Apr 14, 2018
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 14, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal General terminal issues that don't fall under another label
Projects
None yet
Development

No branches or pull requests

2 participants