Revert "Remove code that tries to handle ANSI escape inputs"

This reverts commit 8174e02279. Turns out
it is needed for a common use case, see
https://github.com/sharkdp/bat/issues/2307.

It is not a clean revert, because I adjust CHANGELOG.md and also add a
comment to the test. I also had to resolve a small `use` conflict.
This commit is contained in:
Martin Nordholts committed 2022-09-10 17:59:33 +02:00
1 parent 6680f65e4b
commit 352309b056
6 files changed
+396 -116

No files matched your search

+2
View File
@@ -4,6 +4,8 @@
## Bugfixes
- Bring back pre-processing of ANSI escape characters to so that some common `bat` use cases starts working again. See #2308 (@Enselic)
## Other
## Syntaxes