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

Fix bold, intense color on Windows 10 console. #867

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 26, 2018

There is an issue with the Windows 10 console where if you issue the bold
escape sequence after one of the extended foreground colors, it overrides the
color. This happens in termcolor if you have bold, intense, and color set.
The workaround is to issue the bold sequence before the color.

This is for rust-lang/rust#49322.

There is an issue with the Windows 10 console where if you issue the bold
escape sequence after one of the extended foreground colors, it overrides the
color.  This happens in termcolor if you have bold, intense, and color set.
The workaround is to issue the bold sequence before the color.

This is for rust-lang/rust#49322.
@BurntSushi BurntSushi merged commit 07713fb into BurntSushi:master Mar 26, 2018
@BurntSushi
Copy link
Owner

Awesome, thank you!

ehuss added a commit to ehuss/rust that referenced this pull request Mar 27, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Mar 27, 2018
Fix diagnostic colors on Windows 10 console.

This updates termcolor to pick up BurntSushi/ripgrep#867.

Fixes rust-lang#49322.
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

Successfully merging this pull request may close these issues.

2 participants