rawcmd_utils
pub fn size_text(txt: &str) -> usize
Calculates the length of a unicode string containing ANSI codes. The length returned represents the visible string length.