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

Colors issue in VSCode integrated terminal #120569

Closed
MCWertGaming opened this issue Apr 5, 2021 · 2 comments
Closed

Colors issue in VSCode integrated terminal #120569

MCWertGaming opened this issue Apr 5, 2021 · 2 comments
Assignees
Labels
*not-reproducible Issue cannot be reproduced by VS Code Team member as described terminal Integrated terminal issues

Comments

@MCWertGaming
Copy link

MCWertGaming commented Apr 5, 2021

  • VS Code Version: 1.56.0-insider
  • OS Version: Archlinux (rolling)

Steps to Reproduce:

  1. Open the visual studio code integrated terminal
  2. Hit enter until your ptompt is on the bottom line (or up to 4 lines above it)
  3. Run echo -e "\033[44mTEST\n\033[0m\033[41mTEST\n\033[0m\033[42mTEST\n\033[0m"
  4. The output will look like this:
    image

You can solve this behavior by moving the new line escape character (\n) after the reset escape code (\033[0m):
echo -e "\033[44mTEST\033[0m\n\033[41mTEST\033[0m\n\033[42mTEST\033[0m\n"
The result:
image

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

@meganrogge
Copy link
Contributor

works for me
repro

@meganrogge meganrogge added the *not-reproducible Issue cannot be reproduced by VS Code Team member as described label Oct 8, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*not-reproducible Issue cannot be reproduced by VS Code Team member as described terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

4 participants
@Tyriar @meganrogge @MCWertGaming and others