diff options
| author | dam <dam@gudinoff> | 2024-04-07 02:56:16 +0100 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-04-07 02:56:16 +0100 |
| commit | b3a25d8ef20c98f4bcf917f23d546e54cf41cd35 (patch) | |
| tree | 06c0a430da6ed4479e3f6306d094a6d583dfff0b | |
| parent | 194d919eb827e6c6df03917b1732f253e5eac0b5 (diff) | |
| download | task-time-tracker-b3a25d8ef20c98f4bcf917f23d546e54cf41cd35.tar.zst task-time-tracker-b3a25d8ef20c98f4bcf917f23d546e54cf41cd35.zip | |
Fixed missing default style being applied.
| -rw-r--r-- | ttt.jai | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1020,13 +1020,13 @@ draw_tui :: (db: *Database, layout: *Layout) { else { TUI.set_style(style_default); } - col = *layout.columns[L_DAYS_IDX + idx]; //mvaddstr(xx y, xx (x + col.alignment_offset), col.header.data); TODO DAM TUI.set_cursor_position(y, x + col.alignment_offset); write_string(col.header); x += col.width; } + TUI.set_style(style_default); // Headers : total x += 1; @@ -1142,6 +1142,7 @@ draw_tui :: (db: *Database, layout: *Layout) { print_time(y, x, daily_total, column_width); x += column_width; } + TUI.set_style(style_default); x += 1; print_time(y, x, total_time, layout.columns[L_TOTAL_IDX].width); } |
