Skip to main content

strip_control_codes

Function strip_control_codes 

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

Strip control characters (bell, backspace, vertical tab, form feed) from a string.

Equivalent to Python Rich’s strip_control_codes().