pub fn cut(text: &str, width: usize, g: &Glyphs) -> String
text in at most width cells, cut with the ellipsis when longer.
text
width