From e73c4ef138f982bad33d21283849e97484c21e6a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 17 Dec 2016 14:19:25 -0500 Subject: [PATCH] CmdColor: Conencted rc.color to Table::forceColor --- src/commands/CmdColor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/CmdColor.cpp b/src/commands/CmdColor.cpp index cb9474b84..a751b0bce 100644 --- a/src/commands/CmdColor.cpp +++ b/src/commands/CmdColor.cpp @@ -76,6 +76,8 @@ int CmdColor::execute (std::string& output) Table view; view.width (context.getWidth ()); + if (context.config.getBoolean ("color")) + view.forceColor (); view.add (STRING_CMD_COLOR_COLOR); view.add (STRING_CMD_COLOR_DEFINITION);