pub fn visible_len(text: &str) -> usize
How many characters a text shows, its web addresses and spaces left out.