fn text_width(text: &str) -> usize
Returns the rendered display width of text in terminal cells.
text