Function termwiz::cell::unicode_column_width
source · [−]pub fn unicode_column_width(s: &str, version: Option<UnicodeVersion>) -> usize
Expand description
Returns the number of cells visually occupied by a sequence
of graphemes.
Calls through to grapheme_column_width
for each grapheme
and sums up the length.