Function console::measure_text_width
source ยท pub fn measure_text_width(s: &str) -> usize
Expand description
Measure the width of a string in terminal characters.
pub fn measure_text_width(s: &str) -> usize
Measure the width of a string in terminal characters.