mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
CLI: Colorized keywords
This commit is contained in:
parent
577df9a3af
commit
518389ec58
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ const std::string A2::dump () const
|
|||
{
|
||||
if (tag == "BINARY") tags += "\033[1;37;44m" + tag + "\033[0m ";
|
||||
else if (tag == "CMD") tags += "\033[1;37;46m" + tag + "\033[0m ";
|
||||
else if (tag == "KEYWORD") tags += "\033[1;37;43m" + tag + "\033[0m ";
|
||||
else tags += "\033[32m" + tag + "\033[0m ";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue