measure_cells_text

Function measure_cells_text 

Source
pub fn measure_cells_text(registry: &GlyphRegistry, text: &str) -> usize
Expand description

Measure a plain string in terminal cells using the provided glyph registry.

This measures display width by iterating grapheme clusters and consulting the glyph registry for width policy.