aboutsummaryrefslogtreecommitdiff
path: root/ttt.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2023-04-06 00:42:43 +0100
committerdam <dam@gudinoff>2023-04-06 00:42:43 +0100
commit4bd041428fc829891b18c6657b74824bfe4ee482 (patch)
treeea29dbc219f2cc8d2f20b0b5c94b64a94e3f97cf /ttt.jai
parent9b207176f11e00fe0d3cff3ede331ef0b7954b40 (diff)
downloadtask-time-tracker-4bd041428fc829891b18c6657b74824bfe4ee482.tar.zst
task-time-tracker-4bd041428fc829891b18c6657b74824bfe4ee482.zip
Add bug note.
Diffstat (limited to 'ttt.jai')
-rw-r--r--ttt.jai3
1 files changed, 1 insertions, 2 deletions
diff --git a/ttt.jai b/ttt.jai
index 45a8bac..9c2dcb9 100644
--- a/ttt.jai
+++ b/ttt.jai
@@ -1096,11 +1096,10 @@ draw_tui :: (db: *Database, layout: *Layout) {
// Headers : days
for 0..NUM_WEEK_DAYS-1 {
- //for (int raw_idx = 0; raw_idx < NUM_WEEK_DAYS; raw_idx++) {
idx := adjust_first_day_of_week[it];
x += 1;
- // Apply theme.
+ // Apply theme. FIXME Not working (tested at 00:40 UTC+1 and showed one day earlier.
if (idx == now_week_day && active_task != null) {
attron(COLOR_PAIR(xx Styles.ACTIVE) | A_BOLD);
}