Closed patrick-kidger closed 1 month ago
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.
This is an automated reply, generated by FAQtory
Rich will generate escape sequences, but not parse them by default.
ANSI escape sequences in exceptions are a bad idea, because you never know what is going to consume them.
I hope we solved your problem.
If you like using Rich, you might also enjoy Textual
Describe the bug
produces:
Expected behaviour is for for either (a) the
\x1b[31m
escape code to be respected, or (b) at minimum for the escape codes to be removed and ignored.Rich version 13.8.1 on Linux.