Expand description
§ansi-term-codes
ANSI terminal escape code constants. Zero-dependency, no_std compatible.
§Usage
use ansi_term_codes::{BOLD, RED, RESET};
println!("{BOLD}{RED}error:{RESET} something went wrong");§Constants
- Attributes:
BOLD,DIM,ITALIC,UNDERLINE,RESET - Colors:
RED,GREEN,YELLOW,BLUE,MAGENTA,CYAN - Bold colors:
BOLD_RED,BOLD_GREEN
§License
Apache-2.0