pub fn is_color_available() -> Result<(), ColorError>Expand description
Check if the terminal supports ANSI colors
ยงReturns
Ok(())if the terminal supports ANSI colorsErr(ColorError::NoTerminalSupport)if the terminal does not support ANSI colors
pub fn is_color_available() -> Result<(), ColorError>Check if the terminal supports ANSI colors
Ok(()) if the terminal supports ANSI colorsErr(ColorError::NoTerminalSupport) if the terminal does not support ANSI colors