mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
SummaryColors: Add colors to summary
Signed-off-by: Lim Ding Wen <limdingwen@gmail.com>
This commit is contained in:
parent
e90e243496
commit
aa08d0a3f2
2 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,10 @@ The ':ids' hint adds an 'ID' column to the summary report output for interval mo
|
||||||
Determines whether relevant holidays are shown beneath the report.
|
Determines whether relevant holidays are shown beneath the report.
|
||||||
Default value is 'yes'.
|
Default value is 'yes'.
|
||||||
|
|
||||||
|
**tags.**__<tag>__**.color**::
|
||||||
|
Assigns a specific foreground and background color to a tag.
|
||||||
|
Examples of valid colors include 'white', 'gray8', 'black on yellow', and 'rgb345'.
|
||||||
|
|
||||||
== SEE ALSO
|
== SEE ALSO
|
||||||
**timew-day**(1),
|
**timew-day**(1),
|
||||||
**timew-lengthen**(1),
|
**timew-lengthen**(1),
|
||||||
|
|
|
@ -155,7 +155,7 @@ int CmdSummary (
|
||||||
table.set (row, 3, format ("@{1}", track.id), colorID);
|
table.set (row, 3, format ("@{1}", track.id), colorID);
|
||||||
}
|
}
|
||||||
|
|
||||||
table.set (row, (ids ? 4 : 3), tags);
|
table.set (row, (ids ? 4 : 3), tags, intervalColor(track.tags(), tag_colors));
|
||||||
|
|
||||||
if (show_annotation)
|
if (show_annotation)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue