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

Feature request: NO_COLOR standard implementation #37

Open
hellishvictor opened this issue Jul 11, 2024 · 1 comment
Open

Feature request: NO_COLOR standard implementation #37

hellishvictor opened this issue Jul 11, 2024 · 1 comment
Assignees

Comments

@hellishvictor
Copy link

Hi, it would be great implement the NO_COLOR standard on ttchat since there's many CLI already with it (jaq, miller, crop, upx, python, xq, etc..,) and save the users from use "color=never", "--monochrome-color" or whatever.

Command-line software which adds ANSI color to its output by default should check
 for a NO_COLOR environment variable that, when present and not an empty string
 (regardless of its value), prevents the addition of ANSI color.

By adopting this standard, users that prefer to have plain, non-colored text output
 can export NO_COLOR=1 to their shell’s environment and automatically disable color
 by default in all supported software.

If your software outputs color by default, please consider not doing so. 

More info on: https://no-color.org/

Cheers

@atye atye self-assigned this Jul 11, 2024
@atye
Copy link
Owner

atye commented Jul 11, 2024

This sounds reasonable to add. If I don't get to it tomorrow, it'll probably be sometime late next week.

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

2 participants