pub fn strip_ansi(input: &str) -> String
Strip ANSI CSI escape sequences from a borrowed string.
Used by clap-error rendering and by stderr UI helpers in JSON mode.