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

Disable colors #330

Open
teoljungberg opened this issue Jan 31, 2022 · 0 comments
Open

Disable colors #330

teoljungberg opened this issue Jan 31, 2022 · 0 comments

Comments

@teoljungberg
Copy link

teoljungberg commented Jan 31, 2022

I have a colorscheme where I do not use much coloring in my terminal, and realized that ghq(1) does not adhere to the environment variable NO_COLOR (from https://no-color.org/) - nor supplies any configuration allowing one to disable colors.

Example:

image

Is this something you'd consider as an addition to the project? I presume this comes from the go-colortext package, it does not have any configuration either to support this - but that might be by design.

As for how I'd do it personally (if I had the experience with go) - is to adhere to the NO_COLOR environment variable and support that out of the box. I'd be fine to have the log output not colorized at all as step 1.

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