mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdStats: Table headers consistent
This commit is contained in:
parent
38b0c6c4f1
commit
f13f0e8def
1 changed files with 1 additions and 6 deletions
|
@ -160,12 +160,7 @@ int CmdStats::execute (std::string& output)
|
||||||
view.intraPadding (2);
|
view.intraPadding (2);
|
||||||
view.add (STRING_CMD_STATS_CATEGORY);
|
view.add (STRING_CMD_STATS_CATEGORY);
|
||||||
view.add (STRING_CMD_STATS_DATA);
|
view.add (STRING_CMD_STATS_DATA);
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
view.colorHeader (label);
|
|
||||||
}
|
|
||||||
|
|
||||||
int row = view.addRow ();
|
int row = view.addRow ();
|
||||||
view.set (row, 0, STRING_COLUMN_LABEL_STAT_PE);
|
view.set (row, 0, STRING_COLUMN_LABEL_STAT_PE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue