mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
CmdHistory: Table headers consistent
This commit is contained in:
parent
717e8c3be5
commit
15da5fc702
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