pub fn cut_mode(
s: &str,
left: usize,
right: usize,
mode: WidthMode,
eaw_wide: bool,
) -> StringExpand description
Width-mode variant of cut.
mode and eaw_wide control grapheme width calculation. If the requested cuts leave no visible columns, the result is empty; otherwise trailing escape sequences are retained.