pub fn clicolor() -> Option<bool>
Expand description
Check CLICOLOR status
- When
true
, ANSI colors are supported and should be used when the program isn’t piped,
similar to term_supports_color
- When
false
, don’t output ANSI color escape codes, similar to no_color
See also: