Expand description
Cross-platform terminal initialization: UTF-8 console, ANSI colors, NO_COLOR. Cross-platform terminal initialization: UTF-8, ANSI colors, NO_COLOR.
Functionsยง
- init_
console - Initializes the console for correct UTF-8 output and ANSI escape support. On non-Windows platforms this is a no-op because modern Unix terminals handle both natively.
- should_
use_ ansi - Returns whether ANSI escape codes should be emitted to stderr.