mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug #859
- Fixed bug #859, which used only one color for the 'ghistory.*' report legends (thanks to Uli Martens).
This commit is contained in:
parent
d0d2bba614
commit
5c685153dc
2 changed files with 6 additions and 4 deletions
|
@ -518,8 +518,8 @@ int CmdGHistoryMonthly::execute (std::string& output)
|
|||
if (context.color ())
|
||||
out << format (STRING_CMD_HISTORY_LEGEND,
|
||||
color_add.colorize (STRING_CMD_HISTORY_ADDED),
|
||||
color_add.colorize (STRING_CMD_HISTORY_COMP),
|
||||
color_add.colorize (STRING_CMD_HISTORY_DEL))
|
||||
color_done.colorize (STRING_CMD_HISTORY_COMP),
|
||||
color_delete.colorize (STRING_CMD_HISTORY_DEL))
|
||||
<< optionalBlankLine ()
|
||||
<< "\n";
|
||||
else
|
||||
|
@ -708,8 +708,8 @@ int CmdGHistoryAnnual::execute (std::string& output)
|
|||
if (context.color ())
|
||||
out << format (STRING_CMD_HISTORY_LEGEND,
|
||||
color_add.colorize (STRING_CMD_HISTORY_ADDED),
|
||||
color_add.colorize (STRING_CMD_HISTORY_COMP),
|
||||
color_add.colorize (STRING_CMD_HISTORY_DEL))
|
||||
color_done.colorize (STRING_CMD_HISTORY_COMP),
|
||||
color_delete.colorize (STRING_CMD_HISTORY_DEL))
|
||||
<< optionalBlankLine ()
|
||||
<< "\n";
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue