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

Not working in VS Code #185

Closed
YenHungLai opened this issue Apr 4, 2020 · 6 comments
Closed

Not working in VS Code #185

YenHungLai opened this issue Apr 4, 2020 · 6 comments

Comments

@YenHungLai
Copy link

YenHungLai commented Apr 4, 2020

Hello, as you can see the prompt is grayed out in Windows 10 VS Code integrated terminal. I did export TERM=xterm-256color and locale is set to UTF-8.

Capture

Works fine in Mintty though.

@zoranpopovic
Copy link

zoranpopovic commented Apr 4, 2020

I get the same gray view with gitbash on pretty much any windows terminal except for mintty. it's all gray on conemu, cmder, the new Windows Terminal or VSC terminal.

@justjanne
Copy link
Owner

It seems to work fine for me, is this maybe an issue with windows?

Screenshot_2020-04-24_093305

@zoranpopovic
Copy link

yes, any msys2/mingw/cygwin based shell like bash for windows seems to have a problem with ansi color code interpretation. more details here microsoft/terminal#2837

@aedavelli
Copy link
Contributor

I resolved it by upgrading git-for-windows to latest.
Update your git-for-windows to latest. Earlier TERM was defaulted to cygwin which supports only 16color. The MSYS2 runtime upgraded to Cygwin 3.1.4 where the TERM is defaults to xterm-256color. Refer https:/git-for-windows/git/releases

@rkraneis
Copy link

rkraneis commented Jan 1, 2021

I see the same issue with the jansi based terminal in NetBeans. Other colorful output does work (ls, maven or even a vim session).

@CWempe
Copy link
Contributor

CWempe commented Mar 17, 2021

I think this issue can be closed.

Maybe @rkraneis wants to create a separate issue for "jansi based terminal in NetBeans"?!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants