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:
parent
ee064f00af
commit
f6cb615c97
16 changed files with 178 additions and 100 deletions
|
|
@ -1,2 +1,2 @@
|
|||
(B[m[38;2;106;184;37m[48;2;32;32;32m[1mdef(B[m[38;2;208;208;208m[48;2;32;32;32m (B[m[38;2;68;127;207m[48;2;32;32;32mhi(B[m[38;2;208;208;208m[48;2;32;32;32m():(B[m[38;2;255;255;255m[48;2;32;32;32m (B[m[38;2;255;255;255m[48;2;0;0;0m
|
||||
(B[m[38;2;208;208;208m[48;2;32;32;32m (B[m[38;2;106;184;37m[48;2;32;32;32m[1mprint(B[m[38;2;208;208;208m[48;2;32;32;32m((B[m[38;2;237;157;19m[48;2;32;32;32m"hi"(B[m[38;2;208;208;208m[48;2;32;32;32m)(B[m
|
||||
[m[38;2;106;184;37m[48;2;32;32;32m[1mdef[m[38;2;208;208;208m[48;2;32;32;32m [m[38;2;68;127;207m[48;2;32;32;32mhi[m[38;2;208;208;208m[48;2;32;32;32m():[m[38;2;255;255;255m[48;2;32;32;32m [m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[m[38;2;208;208;208m[48;2;32;32;32m [m[38;2;106;184;37m[48;2;32;32;32m[1mprint[m[38;2;208;208;208m[48;2;32;32;32m([m[38;2;237;157;19m[48;2;32;32;32m"hi"[m[38;2;208;208;208m[48;2;32;32;32m)[m
|
||||
Loading…
Add table
Add a link
Reference in a new issue