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

Cargo running on Msys2 terminal defaults to no color #40940

Closed
cetra3 opened this issue Mar 31, 2017 · 2 comments
Closed

Cargo running on Msys2 terminal defaults to no color #40940

cetra3 opened this issue Mar 31, 2017 · 2 comments

Comments

@cetra3
Copy link

cetra3 commented Mar 31, 2017

Not sure if I'm doing something wrong here, but when running cargo within an Msys2 terminal I have to specify --color always otherwise it doesn't pick up that it's a coloured terminal.

I also can't seem to force this all the time by echo "color = 'always'" > ~/.cargo/config

@Mark-Simulacrum
Copy link
Member

I believe this is rust-lang/cargo#3077 (which is really Stebalien/term#58).

@kennytm
Copy link
Member

kennytm commented Jun 20, 2017

Since cargo switched to termcolor recently (rust-lang/cargo#4162) this should have been fixed for MSYS2 with the latest nightly.

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

No branches or pull requests

3 participants