pub fn pad_to_width(s: &str, width: u16) -> String
Right-pad s with spaces so its visible width equals width.
s
width
ANSI escape sequences are ignored when measuring width.