Structs§
Functions§
- char_
width - The number of terminal cells a single character occupies.
- split_
at_ width - Splits
sat the byte index where its display width reachesmax_cols. - truncate_
measured - Splits
sat the byte index where its display width reachesmax_cols, returning the prefix’s own measured width alongside it. - width
- The number of terminal cells
soccupies, saturating atu16::MAX. - width_
usize - The number of terminal cells
soccupies, without saturating tou16.