mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdSync: Color only used for tty
This commit is contained in:
parent
d8124d1aad
commit
271e28f609
2 changed files with 8 additions and 3 deletions
|
@ -289,7 +289,7 @@ static void colorizeDeleted (Task& task, const Color& base, Color& c, bool merge
|
|||
void autoColorize (Task& task, Color& c)
|
||||
{
|
||||
// The special tag 'nocolor' overrides all auto and specific colorization.
|
||||
if (!context.color () ||
|
||||
if (! context.color () ||
|
||||
task.hasTag ("nocolor"))
|
||||
{
|
||||
c = Color ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue