Function awint_macro_internals::color_text
source · pub fn color_text(s: &str, c: u8) -> String
Expand description
Wrap s
in ANSI delimiters for terminal colors.
{90..=97} => {grey, red, green, yellow, blue, purple, cyan, white}
pub fn color_text(s: &str, c: u8) -> String
Wrap s
in ANSI delimiters for terminal colors.
{90..=97} => {grey, red, green, yellow, blue, purple, cyan, white}