Skip to content

Conversation

slafs
Copy link

@slafs slafs commented Feb 17, 2023

Add a --ansi option that leverages rich Text.from_ansi method.

This can be useful for stripping a file from ansi codes:

rich --ansi text_with_ansi_codes.txt > text_stripped.txt 

Fixes #83

Add a `--ansi` option that leverages rich `Text.from_ansi` method. This can be useful for stripping a file from ansi codes: ``` rich --ansi text_with_ansi_codes.txt > text_stripped.txt ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant