mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 13:23:08 +02:00
Bug #1222
- #1222 The 'summary' report now obeys the 'color.label' setting (thanks to Steve Rader).
This commit is contained in:
parent
3606b6ab65
commit
d72c6567b0
2 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,8 @@ Bugs
|
||||||
+ #1197 Now 'tasksh' recognizes Ctrl-D to exit.
|
+ #1197 Now 'tasksh' recognizes Ctrl-D to exit.
|
||||||
+ #1211 The 'dateformat' settings now default to the ISO-8601 standard of
|
+ #1211 The 'dateformat' settings now default to the ISO-8601 standard of
|
||||||
'Y-M-D' (thanks to Robin Björklin).
|
'Y-M-D' (thanks to Robin Björklin).
|
||||||
|
+ #1222 The 'summary' report now obeys the 'color.label' setting (thanks to
|
||||||
|
Steve Rader).
|
||||||
+ Fixed bug so that 'limit:page' now considers footnote messages.
|
+ Fixed bug so that 'limit:page' now considers footnote messages.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
|
@ -118,6 +118,7 @@ int CmdSummary::execute (std::string& output)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Create a table for output.
|
// Create a table for output.
|
||||||
ViewText view;
|
ViewText view;
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
|
@ -129,6 +130,9 @@ int CmdSummary::execute (std::string& output)
|
||||||
|
|
||||||
Color bar_color (context.config.get ("color.summary.bar"));
|
Color bar_color (context.config.get ("color.summary.bar"));
|
||||||
Color bg_color (context.config.get ("color.summary.background"));
|
Color bg_color (context.config.get ("color.summary.background"));
|
||||||
|
Color label (context.config.get ("color.label"));
|
||||||
|
|
||||||
|
view.colorHeader (label);
|
||||||
|
|
||||||
int barWidth = 30;
|
int barWidth = 30;
|
||||||
std::vector <std::string> processed;
|
std::vector <std::string> processed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue