pub fn str_width(s: &str) -> usize
Display width of a string, in terminal columns (the sum of its characters’ widths). Use this instead of .chars().count() for visual layout.
.chars().count()