CmdHistory: Table headers consistent

This commit is contained in:
Paul Beckingham 2017-03-20 09:10:20 -04:00
parent 717e8c3be5
commit 15da5fc702

View file

@ -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 ());