CmdProjects: Table headers consistent
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user