mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
SummaryColors: Fix formatting
Signed-off-by: Lim Ding Wen <limdingwen@gmail.com>
This commit is contained in:
parent
026ef7268f
commit
82b7e5537d
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ int CmdSummary (
|
|||
}
|
||||
|
||||
// Map tags to colors.
|
||||
Color colorID (rules.getBoolean("color") ? rules.get ("theme.colors.ids") : "");
|
||||
Color colorID (rules.getBoolean ("color") ? rules.get ("theme.colors.ids") : "");
|
||||
|
||||
auto ids = findHint (cli, ":ids");
|
||||
auto show_annotation = findHint (cli, ":annotations");
|
||||
|
@ -153,7 +153,7 @@ int CmdSummary (
|
|||
table.set (row, 3, format ("@{1}", track.id), colorID);
|
||||
}
|
||||
|
||||
table.set (row, (ids ? 4 : 3), tags, summaryIntervalColor(rules, track.tags()));
|
||||
table.set (row, (ids ? 4 : 3), tags, summaryIntervalColor (rules, track.tags ()));
|
||||
|
||||
if (show_annotation)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue