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