CmdColor: Conencted rc.color to Table::forceColor

This commit is contained in:
Paul Beckingham 2016-12-17 14:19:25 -05:00
parent ff6dcee84c
commit 2ec89e68ba

View file

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