Skip to content

Support the first 16 Ansi256 colors on Windows#10

Merged
BurntSushi merged 2 commits intoBurntSushi:masterfrom
kennytm:win-ansi-256
Jun 4, 2019
Merged

Support the first 16 Ansi256 colors on Windows#10
BurntSushi merged 2 commits intoBurntSushi:masterfrom
kennytm:win-ansi-256

Conversation

@kennytm
Copy link
Contributor

@kennytm kennytm commented Nov 11, 2018

Fix the issue described in rust-lang/rust#55788 (comment).

@mati865
Copy link

mati865 commented Jun 4, 2019

ping @BurntSushi

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a style nit.

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed another long line. It's very hard to notice long lines in the diff. Please check to make sure there aren't any more in this diff.

@mati865
Copy link

mati865 commented Jun 4, 2019

Maybe you should consider adding rustfmt.toml with max_width setting?

@BurntSushi
Copy link
Owner

BurntSushi commented Jun 4, 2019

@mati865 I'm aware of rustfmt and its ability to enforce a maximum width setting. I've considered using it, several times over the years, but rustfmt is overall not good enough. It makes way too many sub-optimal decisions.

Copy link
Owner

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BurntSushi BurntSushi merged commit 3beef8b into BurntSushi:master Jun 4, 2019
@BurntSushi
Copy link
Owner

This PR is in termcolor 1.0.5 on crates.io.

@kennytm kennytm deleted the win-ansi-256 branch June 4, 2019 14:07
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.

3 participants