Open nettrino opened 1 month ago
We currently try to disable color when stdout is not a tty:
I'll check if this needs to integrate better with the config, or e.g. the environment variables:
NO_COLOR
existingTERM
having the value DUMB
.If the call to otherSetupTasks
got moved, it could be that the value is
getting clobbered; since that's in Nim code, any conf file load is going to
write over it. One of the things that won't be a problem when the newer
con4m is merged.
If NO_COLOR is on, it will always disable the color though.
On Tue, May 28, 2024 at 8:51 AM ee7 @.***> wrote:
We currently try to disable color when stdout is not a tty:
I'll check if this needs to integrate better with the config, or e.g. the environment variables:
- NO_COLOR existing
- or TERM having the value DUMB.
— Reply to this email directly, view it on GitHub https://github.com/crashappsec/chalk/issues/297#issuecomment-2135141446, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABELGQPXVT64TBQVXX7ZM4LZER4UVAVCNFSM6AAAAABIMNCPVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGE2DCNBUGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
should be getting called last
Description
With the current defaults escape characters appear on logs in most platforms making output harder to read