From 938e9130d6e1dcc4c96c41ff0738743cec816adb Mon Sep 17 00:00:00 2001 From: timbuntu Date: Tue, 4 Jun 2019 14:19:14 +0200 Subject: [PATCH] Fixed report colors in calendar --- src/commands/CmdCalendar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index 3db0f9774..a8a6c8463 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -348,6 +348,8 @@ int CmdCalendar::execute (std::string& output) args.push_back ("rc:" + Context::getContext ().rc_file._data); args.push_back ("rc.due:0"); args.push_back ("rc.verbose:label,affected,blank"); + if (Context::getContext ().color ()) + args.push_back ("rc._forcecolor:on"); args.push_back ("due.after:" + after); args.push_back ("due.before:" + before); args.push_back ("-nocal");