Skip to main content

sanitize

Function sanitize 

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

text with every character a terminal could act on removed. \r\n becomes \n; a lone \r is dropped.