- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
This commit is contained in:
Paul Beckingham 2015-01-10 15:49:42 -05:00
parent cdde747733
commit 547d9edb55
14 changed files with 56 additions and 1 deletions

View file

@ -104,6 +104,9 @@ int CmdProjects::execute (std::string& output)
view.add (Column::factory ("string", STRING_COLUMN_LABEL_PROJECT));
view.add (Column::factory ("string.right", STRING_COLUMN_LABEL_TASKS));
Color label (context.config.get ("color.label"));
view.colorHeader (label);
std::vector <std::string> processed;
std::map <std::string, int>::iterator project;
for (project = unique.begin (); project != unique.end (); ++project)