Skip to main content

cell_width

Function cell_width 

Source
pub fn cell_width(text: &str) -> usize
Expand description

Cells text takes in a table cell, grapheme by grapheme at ratatui’s widths: unlike display_width, a joined emoji sequence counts once and control characters zero.