aec icon indicating copy to clipboard operation
aec copied to clipboard

[Feature] Add direct support for the NO_COLOR and COLORTERM environment variable into **aec**

Open spkane opened this issue 3 years ago • 1 comments

It would be great if aec was designed to automatically honor the NO_COLOR env var (as defined here: https://no-color.org/) when it is set, so that people can turn off colors in their environment and this logic does not have to be re-implemented in any project that uses aec and wants this sort of behavior.

COLORTERM (see: https://jdebp.uk/Softwares/nosh/guide/TerminalCapabilities.html) is also used sometimes to define the color capabilities of a terminal and might be useful to implement in aec as well.

spkane avatar Jul 19 '22 19:07 spkane

This is an example use case where NO_COLOR needs to be implemented outside aec.

  • https://github.com/moby/buildkit/pull/2954

spkane avatar Jul 19 '22 19:07 spkane