mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
CmdReports: Table headers consistent
This commit is contained in:
parent
596cce73b7
commit
c0f33ed5e7
1 changed files with 1 additions and 10 deletions
|
@ -90,16 +90,7 @@ int CmdReports::execute (std::string& output)
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
view.add (STRING_CMD_REPORTS_REPORT);
|
view.add (STRING_CMD_REPORTS_REPORT);
|
||||||
view.add (STRING_CMD_REPORTS_DESC);
|
view.add (STRING_CMD_REPORTS_DESC);
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
Color label (context.config.get ("color.label"));
|
|
||||||
view.colorHeader (label);
|
|
||||||
|
|
||||||
Color alternate (context.config.get ("color.alternate"));
|
|
||||||
view.colorOdd (alternate);
|
|
||||||
view.intraColorOdd (alternate);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto& report : reports)
|
for (auto& report : reports)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue