NO_COLOR support #76756
jonathan-dev
started this conversation in
Ideas
NO_COLOR support
#76756
Replies: 1 comment 9 replies
-
I see it is available here: const enabled =
env &&
!env.NO_COLOR &&
(env.FORCE_COLOR || (stdout?.isTTY && !env.CI && env.TERM !== 'dumb')) If that's not enabled, then the formatter string, returns See here, https://stackblitz.com/edit/nextjs-fikshs4s?file=package.json: ![]() |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
I want to be able to turn off colored output for the next command using the NO_COLOR convention.
If it is already possible to turn of the colored output I would like to know how since failed finding any documentation on that topic.
Non-Goals
No response
Background
a similar reqest has already been filed here in #54391
Proposal
Implement support for the NO_COLOR environment variable no color standard
Beta Was this translation helpful? Give feedback.
All reactions