Expand description
Console theming for error display in CLI applications
This module provides ANSI color formatting for error messages displayed in terminal environments. It automatically detects terminal capabilities and disables colors when appropriate.
Structs§
- Console
Theme - Color theme for console error output
Functions§
- install_
panic_ hook - Install a panic hook that formats panics using the ConsoleTheme
- print_
error - Pretty-print an error to stderr with the default theme