-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Print only colors when in terminal or escape sequence are allowed #149
Comments
In case is not easy to detect the terminal environment, then some flag/sentence is needed to configure the colored/plain text output |
An idea can be to use the chalk library that seems to autodetect color support. |
@matteo-cristino Approved go for it when you have time |
Is there a way I can reproduce this terminal in the browser tests? to see If chalk libreary solve the issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When not in a terminal and colors are not supported we should prevent this:
The text was updated successfully, but these errors were encountered: