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.
|
// Now build the view.
|
||||||
Table view;
|
Table view;
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.config.getBoolean ("color"))
|
if (context.config.getBoolean ("color"))
|
||||||
view.forceColor ();
|
view.forceColor ();
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
|
@ -196,6 +197,7 @@ template<class HistoryStrategy>
|
||||||
void CmdHistoryBase<HistoryStrategy>::outputTabular (std::string &output)
|
void CmdHistoryBase<HistoryStrategy>::outputTabular (std::string &output)
|
||||||
{
|
{
|
||||||
Table view;
|
Table view;
|
||||||
|
setHeaderUnderline (view);
|
||||||
if (context.config.getBoolean ("color"))
|
if (context.config.getBoolean ("color"))
|
||||||
view.forceColor ();
|
view.forceColor ();
|
||||||
view.width (context.getWidth ());
|
view.width (context.getWidth ());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue