phive icon indicating copy to clipboard operation
phive copied to clipboard

Considering to add support for the Standard for ANSI Colors in Terminals

Open theseer opened this issue 8 years ago • 1 comments

Having a standard way to determine whether or not we should use a colored output sounds like a good idea.

This ticket is used to keep track of this idea, as described at https://bixense.com/clicolors/.

theseer avatar Oct 13 '17 19:10 theseer

I would love to see this added. GitHub Actions takes advantage of ANSI output to make for a huge readability increase in the web log output. Most CLI tools being used in CI/CD these days include --ansi/--no-ansi flags directly to the executable - an elegant solution IMO.

MGatner avatar Oct 25 '21 14:10 MGatner

It looks like, even after such a long time, neither of the projects listed on the above reference page have opted for implementing this. I certainly haven't seen this variable set in an CI system i use.

I don't think there's any use in implementing support for this particular ENV variable. I might consider adding a better detection whether or not color output is supported. But for now, this is a won't fix.

theseer avatar Mar 15 '23 14:03 theseer