diff --git a/src/commands/CmdHistory.cpp b/src/commands/CmdHistory.cpp index bfc5ea3bd..aade1a234 100644 --- a/src/commands/CmdHistory.cpp +++ b/src/commands/CmdHistory.cpp @@ -65,8 +65,6 @@ void CmdHistoryBase::outputGraphical (std::string &output) // Now build the view. Table view; setHeaderUnderline (view); - if (context.config.getBoolean ("color")) - view.forceColor (); view.width (context.getWidth ()); HistoryStrategy::setupTableDates (view); @@ -78,8 +76,6 @@ void CmdHistoryBase::outputGraphical (std::string &output) Color color_delete (context.config.get ("color.history.delete")); Color label (context.config.get ("color.label")); - view.colorHeader (label); - // Determine the longest line, and the longest "added" line. auto maxAddedLine = 0; auto maxRemovedLine = 0; @@ -197,8 +193,6 @@ void CmdHistoryBase::outputTabular (std::string &output) { Table view; setHeaderUnderline (view); - if (context.config.getBoolean ("color")) - view.forceColor (); view.width (context.getWidth ()); HistoryStrategy::setupTableDates (view); @@ -208,12 +202,6 @@ void CmdHistoryBase::outputTabular (std::string &output) view.add (STRING_CMD_HISTORY_DEL, false); view.add (STRING_CMD_HISTORY_NET, false); - if (context.color ()) - { - Color label (context.config.get ("color.label")); - view.colorHeader (label); - } - auto totalAdded = 0; auto totalCompleted = 0; auto totalDeleted = 0;