-
Notifications
You must be signed in to change notification settings - Fork 196
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
Better ANSI Color Support Detection #1146
base: master
Are you sure you want to change the base?
Conversation
Is it not possible to perform a more generic check for ansi color support? It's possible that these CI environments will change, or that not all environments are covered. |
This is best i could do, for CI they don't define |
The best solution is to use these as of now. |
What about adding a flag like |
This PR improves how we check for ANSI color support by handling more terminals and CI environments and simplifying the detection logic in
stripColor
.