Skip to main content

shown

Function shown 

Source
pub fn shown(text: &str) -> String
Expand description

The text with every control character written as an escape, so that text from a document that is being read cannot move the cursor, clear the screen or end the line of a diagnostic. Other characters are kept as they are.