pub fn string_width(text: &str) -> usize