pub fn printable(text: &str) -> String
Makes text from an untrusted file safe to print: control characters (escape sequences, line breaks, bell) are written as \n, \u{1b} and so on, so they cannot drive the terminal.
\n
\u{1b}