CmdHistory: Table headers consistent
This commit is contained in:
@@ -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 ());
|
||||||
|
|||||||
Reference in New Issue
Block a user