console
pub fn measure_text_width(s: &str) -> usize
Measure the width of a string in terminal characters.