FYI ANSI
This crate exports two simple compile-time ANSI formatting macros — csi and
ansi — as well as shortcut helpers for blink, bold, dim,
italic, strike, and underline.
Examples
use ;
// The `csi` macro generates (only) the ANSI formatting sequence.
assert_eq!;
// The `ansi` macro generates formatted content strings.
assert_eq!;
The bold, dim, etc., macros are only shortcuts, but can help declutter
your code when there's only the one style being toggled.
use ;
// Same as with `ansi`, they terminate with a blanket reset by default.
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;