tools: Added color to git_log output.

- Added a simple parser for termcodes to termstr.
- Added missing 'italic' conversion in termstr.
- Simplified termcode for 'normal'.
This commit is contained in:
Andrew Hamilton 2019-07-09 12:00:39 +10:00
parent ee064f00af
commit f6cb615c97
16 changed files with 178 additions and 100 deletions

View file

@ -1,8 +1,8 @@
(B▀▀▀▀▀▀(B▀▀▀▀(B▀▀▀▀▀▀(B
(B▀▀▀(B▀(B▀▀(B▀▀▀▀(B▀▀(B▀(B▀▀▀(B
(B▀▀(B▀(B▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B▀(B
(B▀(B▀▀▀▀▀▀▀▀▀▀▀▀▀▀(B▀(B
(B▀(B▀(B▀▀▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B
(B▀(B▀(B▀(B▀▀▀▀▀▀▀▀▀▀(B▀(B▀(B▀(B
(B▀▀▀(B▀(B▀(B▀▀▀▀▀▀(B▀(B▀(B▀(B▀▀(B
(B▀▀▀▀▀(B▀(B▀(B▀▀▀▀(B▀▀▀▀▀(B
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀