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,2 +1,2 @@
(Bdef(B (Bhi(B():(B (B
(B (Bprint(B((B"hi"(B)(B
def hi(): 
 print("hi")