ansi strip

Strip ANSI escape sequences from a string

Signature

> ansi strip ...column path

Parameters

  • ...column path: optionally, remove ANSI sequences by column paths

Examples

Strip ANSI escape sequences from a string

> echo [ (ansi green) (ansi cursor_on) "hello" ] | str collect | ansi strip