pub fn strip(s: &str) -> StringExpand description
Return s with ANSI escape sequences removed.
CSI, OSC, DCS, SOS, PM, APC, and short ESC sequences are dropped. Printable
UTF-8 text and non-ESC control bytes such as \n, \r, and \t are
preserved.