pub fn plain(text: &str) -> String
text without its escape sequences (CSI, OSC and the other strings, charset designations, other ESC x), carriage returns resolved to the last overwrite of each line.
text
ESC x