Function nu_utils::strip_ansi_string_likely
source ยท pub fn strip_ansi_string_likely(string: String) -> StringExpand description
Removes ANSI escape codes and some ASCII control characters
Optimized for strings that likely contain ANSI control chars.
Keeps \n removes \r, \t etc.
If parsing fails silently returns the input string