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

should_colorize from colored package #95

Open
eendebakpt opened this issue Feb 19, 2023 · 0 comments
Open

should_colorize from colored package #95

eendebakpt opened this issue Feb 19, 2023 · 0 comments

Comments

@eendebakpt
Copy link

The colored package contains functionality to enable or disable colors using environment variables. Usage is roughly:

use colored::control::SHOULD_COLORIZE;
....
SHOULD_COLORIZE.should_colorize()

The implementation is here: https://github.com/mackwic/colored/blob/master/src/control.rs#L100

Can we control the coloring for owo-colors using environment variables?

kxxt added a commit to kxxt/owo-colors that referenced this issue Oct 24, 2023
Not implemented for StyledList and SupportsColorsDisplay.

Not tested!!!

Solves jam1garner#95 for my personal usage.
kxxt added a commit to kxxt/owo-colors that referenced this issue Feb 14, 2024
Not implemented for StyledList and SupportsColorsDisplay.

Not tested!!!

Solves jam1garner#95 for my personal usage.
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

1 participant