Commit graph

3 commits

Author SHA1 Message Date
Jan De Dobbeleer 59282c088d refactor: separate ansi formats 2020-12-27 18:23:40 +01:00
Laurent Nullens 969b54420a fix: avoid emitting empty ansi color codes
When there's no color override an empty string is emitted.
The fix reduces the emitted output by 40% approximatively with the default theme(1604 -> 1138).
2020-12-27 11:39:05 +01:00
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Renamed from ansi_color.go (Browse further)