mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdColor: Conencted rc.color to Table::forceColor
This commit is contained in:
parent
ff6dcee84c
commit
2ec89e68ba
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue