ansiColorLevel top-level property
The detected (or overridden) ANSI color capability level.
Defaults to the level auto-detected from the platform and environment
variables (e.g. COLORTERM, TERM_PROGRAM, TERM, NO_COLOR).
Set to a specific AnsiColorLevel to override detection. For example,
force 256-color mode: ansiColorLevel = AnsiColorLevel.ansi256;
When ansiColorDisabled is true, all color output is suppressed
regardless of this value.
Implementation
AnsiColorLevel ansiColorLevel = detectedAnsiColorLevel;