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

Don't use colors when input is not a TTY #5

Open
d-e-s-o opened this issue May 8, 2022 · 0 comments
Open

Don't use colors when input is not a TTY #5

d-e-s-o opened this issue May 8, 2022 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@d-e-s-o
Copy link
Owner

d-e-s-o commented May 8, 2022

We may not want to emit colors when the input is not a TTY. E.g., when redirecting the output to a file. I think we should add a switch to force usage of color, though. There is also NO_COLOR, though off hand I am not convinced that we need to follow it.

@d-e-s-o d-e-s-o added help wanted Extra attention is needed good first issue Good for newcomers labels May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant