mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Configuration
- Allows rc.tag.indicator to replace the default + indicator. - Allows rc.active.indicator to replace the default * indicator. - Allows rc.recurrence.indicator to replace the default R indicator.
This commit is contained in:
parent
22d99806d0
commit
67546f8163
7 changed files with 52 additions and 17 deletions
|
@ -511,7 +511,7 @@ int runCustomReport (
|
|||
|
||||
for (unsigned int row = 0; row < tasks.size(); ++row)
|
||||
if (tasks[row].has ("start"))
|
||||
table.addCell (row, columnCount, "*");
|
||||
table.addCell (row, columnCount, context.config.get ("active.indicator"));
|
||||
}
|
||||
|
||||
else if (*col == "tags")
|
||||
|
@ -586,7 +586,7 @@ int runCustomReport (
|
|||
|
||||
for (unsigned int row = 0; row < tasks.size(); ++row)
|
||||
if (tasks[row].has ("recur"))
|
||||
table.addCell (row, columnCount, "R");
|
||||
table.addCell (row, columnCount, context.config.get ("recurrence.indicator"));
|
||||
}
|
||||
|
||||
else if (*col == "tag_indicator")
|
||||
|
@ -597,7 +597,7 @@ int runCustomReport (
|
|||
|
||||
for (unsigned int row = 0; row < tasks.size(); ++row)
|
||||
if (tasks[row].getTagCount ())
|
||||
table.addCell (row, columnCount, "+");
|
||||
table.addCell (row, columnCount, context.config.get ("tag.indicator"));
|
||||
}
|
||||
|
||||
else if (*col == "wait")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue