Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't print out excessive ANSI codes
The ANSI renderer was printing out astonishing quantities of SGR 0s, which don't hurt anything but has bad code aesthetics. Fix it to only print out font requests when the font changes. before: ``` ♪ pandoc$ cabal exec -- pandoc -t ansi doc/customizing-pandoc.md | wc -c 17986 ``` after: ``` ♪ pandoc$ cabal exec -- pandoc -t ansi doc/customizing-pandoc.md | wc -c 5297 ```
- Loading branch information