Closed koddsson closed 5 years ago
Not all terminals can output colored text resulting in some weird formatting for colored output.
This PR auto detects color support based on the environment and makes sure to not include color formatting when it's not supported.
Ref: https://github.com/lukeed/kleur#conditional-support Ref: https://www.npmjs.com/package/color-support
Nice!
Not all terminals can output colored text resulting in some weird formatting for colored output.
This PR auto detects color support based on the environment and makes sure to not include color formatting when it's not supported.
Ref: https://github.com/lukeed/kleur#conditional-support Ref: https://www.npmjs.com/package/color-support