-
Notifications
You must be signed in to change notification settings - Fork 13.4k
--color=always still checks for a terminal before printing colors #31546
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Also related to #29999, @Stebalien do you have any thoughts? |
I also commented on the playpen issue and think that some change (maybe #29999) changed |
A fix for this should get uplifted to Beta (not sure how to signal that with the available labels). |
Ignoring windows... The term library doesn't care if it's writing to a TTY, only if (1) the TERM environment variable is set and (2) it can find/parse the terminfo database. This appears to have been introduced in #30711. Adding |
This produces colored output on 1.6.0, but not 1.7.0 or 1.8.0. Related to rust-lang/rust-playpen#174, cc @nrc.
The text was updated successfully, but these errors were encountered: