mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 04:00:37 +02:00
CmdProjects: Table headers consistent
This commit is contained in:
parent
043884fc9b
commit
596cce73b7
1 changed files with 1 additions and 6 deletions
|
@ -109,12 +109,7 @@ int CmdProjects::execute (std::string& output)
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
view.add (STRING_COLUMN_LABEL_PROJECT);
|
view.add (STRING_COLUMN_LABEL_PROJECT);
|
||||||
view.add (STRING_COLUMN_LABEL_TASKS, false);
|
view.add (STRING_COLUMN_LABEL_TASKS, false);
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
view.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::vector <std::string> processed;
|
std::vector <std::string> processed;
|
||||||
for (auto& project : unique)
|
for (auto& project : unique)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue