ansiSupported top-level property
bool
get
ansiSupported
Returns true if the terminal supports ANSI escape codes.
Implementation
bool get ansiSupported {
return _ansiSupportedRef ??= stdout.hasTerminal && stdout.supportsAnsiEscapes;
}