pub fn text_width(text: &str, widths: &CellWidths) -> usizeExpand description
How many cells of the screen text takes: one per character, two for a
character widths has wide (a Japanese or Chinese one, from the font
atlas’s wide glyphs). Every length limit on text and every layout that
measures it counts with this.