mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -118,6 +118,7 @@ int CmdSummary::execute (std::string& output)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Create a table for output.
|
||||
ViewText view;
|
||||
view.width (context.getWidth ());
|
||||
|
@ -129,6 +130,9 @@ int CmdSummary::execute (std::string& output)
|
|||
|
||||
Color bar_color (context.config.get ("color.summary.bar"));
|
||||
Color bg_color (context.config.get ("color.summary.background"));
|
||||
Color label (context.config.get ("color.label"));
|
||||
|
||||
view.colorHeader (label);
|
||||
|
||||
int barWidth = 30;
|
||||
std::vector <std::string> processed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue