Skip to main content

clean

Function clean 

Source
pub fn clean(line: &str) -> String
Expand description

Strip ANSI escape sequences and keep what a terminal would show after a carriage return (progress bars rewrite their line).