pub fn str_width(s: &str) -> usizeExpand description
The display width of a string.
Emoji sequences (such as family emoji joined with ZWJ) count each component separately, so the result can be wider than what is displayed. That errs toward extra room rather than a misaligned table, so v0.1 leaves it as is.