2 ms·
Why not add env("NO_COLOR") to it as an equivalent of FORCE_COLOR=0?
by tgv 3y ago
Why not add env("NO_COLOR") to it as an equivalent of FORCE_COLOR=0?
- junon 3y agoBecause we've had 5nor 6 of these standards and it becomes unclear which one should take precedence. If FORCE_COLOR=1 and NO_COLOR is defined, which one wins? FORCE_COLOR was the first we had found that was also present in other Unix utilities and thus the one that won.
- tgv 3y agoI'm a bit late, but perhaps you could write the no-color website maintainer, and ask to link to similar projects? Then we could see all options to disable or forcibly enable color in one glance.