mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 04:00:37 +02:00
TW-1484
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
This commit is contained in:
parent
cdde747733
commit
547d9edb55
14 changed files with 56 additions and 1 deletions
|
@ -87,6 +87,9 @@ int CmdUDAs::execute (std::string& output)
|
|||
view.add (Column::factory ("string", STRING_COLUMN_LABEL_DEFAULT));
|
||||
view.add (Column::factory ("string", STRING_COLUMN_LABEL_UDACOUNT));
|
||||
|
||||
Color label (context.config.get ("color.label"));
|
||||
view.colorHeader (label);
|
||||
|
||||
std::vector <std::string>::iterator uda;
|
||||
for (uda = udas.begin (); uda != udas.end (); ++uda)
|
||||
{
|
||||
|
@ -147,6 +150,9 @@ int CmdUDAs::execute (std::string& output)
|
|||
orphanView.add (Column::factory ("string", STRING_COLUMN_LABEL_ORPHAN));
|
||||
orphanView.add (Column::factory ("string", STRING_COLUMN_LABEL_UDACOUNT));
|
||||
|
||||
Color label (context.config.get ("color.label"));
|
||||
orphanView.colorHeader (label);
|
||||
|
||||
std::map <std::string, int>::iterator o;
|
||||
for (o = orphans.begin (); o != orphans.end (); ++o)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue