Skip to main content

strip_ansi

Function strip_ansi 

Source
pub fn strip_ansi(input: &str) -> String
Expand description

Strip ANSI escape sequences from a captured message so malicious page content (or legitimate page console.log bridged through) cannot poison logs with terminal control codes.