Function strip_ansi_escapes::strip[][src]

pub fn strip<T>(data: T) -> Result<Vec<u8>> where
    T: AsRef<[u8]>, 
Expand description

Strip ANSI escapes from data and return the remaining bytes as a Vec<u8>.

See the module documentation for an example.