Skip to main content

colorize

Function colorize 

Source
pub(crate) fn colorize(text: &str, color: &str, is_tty: bool) -> String