Module console_theme

Source
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§

ConsoleTheme
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