Support NO_COLOR to turn off the color scheme
chenrui333 opened this issue · 5 comments
chenrui333 commented
Would be good to support NO_COLOR env to disable the color output.
leg100 commented
Specifying NO_COLOR
does already turn off colors in Pug, but I noticed the following:
- the current item is no longer highlighted and there is no way to distinguish it
- same with selected items
- the output from terraform processes is still colored
Is this what you are seeing?
Out of interest, what is the use case?
chenrui333 commented
it is used for CI to check the output in my case, but it would be good to support NO_COLOR in general
leg100 commented
Can you please confirm whether you are seeing the above?
leg100 commented
Pug serves no purpose in a CI context, so I don't see a use case.
I don't think NO_COLOR
makes much sense for a TUI. I checked out both tig, and k9s, both well established TUIs, and neither supports NO_COLOR
.
chenrui333 commented
yeah, it is fine.