pub fn string_display_width(text: &str) -> u16Expand description
Calculate the display width of text in terminal cells.
Uses the unicode-width crate to account for double-width characters
(CJK, emoji, etc.). Returns the width clamped to u16::MAX.