mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-10 04:00:37 +02:00
CmdHistory: Table headers consistent
This commit is contained in:
parent
73040f2679
commit
aa5d1b4192
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@ void CmdHistoryBase<HistoryStrategy>::outputGraphical (std::string &output)
|
|||
|
||||
// Now build the view.
|
||||
Table view;
|
||||
setHeaderUnderline (view);
|
||||
if (context.config.getBoolean ("color"))
|
||||
view.forceColor ();
|
||||
view.width (context.getWidth ());
|
||||
|
@ -196,6 +197,7 @@ template<class HistoryStrategy>
|
|||
void CmdHistoryBase<HistoryStrategy>::outputTabular (std::string &output)
|
||||
{
|
||||
Table view;
|
||||
setHeaderUnderline (view);
|
||||
if (context.config.getBoolean ("color"))
|
||||
view.forceColor ();
|
||||
view.width (context.getWidth ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue