pub fn strip_codes(txt: &str) -> String
Removes ANSI codes from the provided text and return a new string.