mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdHistory: Removed table header coloring which is handled elsewhere
This commit is contained in:
parent
2929c46d68
commit
3b97209663
1 changed files with 0 additions and 12 deletions
|
@ -65,8 +65,6 @@ 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 ());
|
||||
|
||||
HistoryStrategy::setupTableDates (view);
|
||||
|
@ -78,8 +76,6 @@ void CmdHistoryBase<HistoryStrategy>::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<HistoryStrategy>::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<HistoryStrategy>::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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue