ansi strip
for platform
Strip ANSI escape sequences from a string.
Signature
> ansi strip ...rest
Parameters
...rest
: for a data structure input, remove ANSI sequences from strings at the given cell paths
Examples
Strip ANSI escape sequences from a string
> $'(ansi green)(ansi cursor_on)hello' | ansi strip
hello