Skip to main content

char_width

Function char_width 

Source
fn char_width(c: char) -> usize
Expand description

Highlight a command using pre-computed match indices from fuzzy matching. Returns spans with (text, is_highlight) pairs. Terminal columns a character occupies: 2 for East Asian wide, 0 for combining marks and controls.