pub fn display_width(text: &str) -> usizeExpand description
Width of a string in terminal cells.
Printable ASCII runs take the inline/SIMD fast path (ascii_width);
strings containing non-ASCII bytes segment into grapheme clusters and
route every non-ASCII cluster (<= 128 bytes) through the per-thread
S3-FIFO width cache (grapheme_width).