Skip to main content

escape_control_codes

Function escape_control_codes 

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

Escape control characters in a string, replacing them with visible representations like \\a, \\b, etc.