mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdTimesheet: Table headers consistent
This commit is contained in:
parent
c26d7fb465
commit
0cf0f1ce3c
1 changed files with 1 additions and 9 deletions
|
@ -125,15 +125,7 @@ int CmdTimesheet::execute (std::string& output)
|
||||||
table.add ("Project");
|
table.add ("Project");
|
||||||
table.add ("Due");
|
table.add ("Due");
|
||||||
table.add ("Task");
|
table.add ("Task");
|
||||||
|
setHeaderUnderline (table);
|
||||||
if (context.color ())
|
|
||||||
{
|
|
||||||
table.forceColor ();
|
|
||||||
table.colorHeader (Color ("underline " + context.config.get ("color.label")));
|
|
||||||
table.colorOdd (Color (context.config.get ("color.alternate")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
table.underlineHeaders ();
|
|
||||||
|
|
||||||
auto dateformat = context.config.get ("dateformat");
|
auto dateformat = context.config.get ("dateformat");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue