Skip to content

Windows - Integrated Terminal running Ubuntu resets white to blue (ansiBlue) #45015

Closed

Description

@tomjaimz
  • VSCode Version: 1.20.1
  • OS Version: Windows 10.0.16299.24

I have tried reinstalling VS Code several times and have also completely removed Bash and installed Ubuntu from the Microsoft Store. I have wiped both my AppData\Roaming\Code and my .vscode directories.

Whenever my Bash terminal within the Integrated Terminal of VS Code encounters a colour and is supposed to return to white, it returns instead to blue. Then anything that is supposed to be blue is white. The only way around it I have found is to defined ansiBlue as a white colour in the user settings (which means that then my terminal cannot display blue correctly).

Running echo -e "\e[37m" will also get me back to white, but as soon as the system encounters another colour code, and then a reset, it's back to blue. Most tellingly, echo -e "\x1b[0m" takes me from white to blue.

Here is a simple example:

blue

This does not happen when running Ubuntu/Bash from outside of VS Code.

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

Activity

  1. added
    terminal
    on Mar 4, 2018
  2. changed the title [-]Windows - Integrated Terminal running Ubuntu shows white as blue (ansiBlue)[/-] [+]Windows - Integrated Terminal running Ubuntu resets white to blue (ansiBlue)[/+] on Mar 4, 2018
  3. Tyriar commented on Mar 4, 2018

    @Tyriar
    Contributor

    Duplicate #40327

  4. added
    *duplicate
    on Mar 4, 2018
  5. locked and limited conversation to collaborators on Apr 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateterminal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions