aboutsummaryrefslogtreecommitdiff
path: root/ttt.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-01-01 19:15:55 +0000
committerdam <dam@gudinoff>2024-01-01 19:15:55 +0000
commitac9e0033f39a9f2feaa024024a7c443d4e6df77f (patch)
treee9061746899389665f487a8b57dc3d6b83858963 /ttt.jai
parent6dd12d2c8b81cd5719fb0ecdcbf678e08460fbeb (diff)
downloadtask-time-tracker-ac9e0033f39a9f2feaa024024a7c443d4e6df77f.tar.zst
task-time-tracker-ac9e0033f39a9f2feaa024024a7c443d4e6df77f.zip
Added some TODO items and fixed show_processing procedure.
Diffstat (limited to 'ttt.jai')
-rw-r--r--ttt.jai8
1 files changed, 4 insertions, 4 deletions
diff --git a/ttt.jai b/ttt.jai
index 2e5af82..62c2e6c 100644
--- a/ttt.jai
+++ b/ttt.jai
@@ -167,8 +167,9 @@ trigger_autosave :: () {
}
show_processing :: () {
- //mvaddch(0, 0, ACS_DIAMOND); TODO DAM
- //refresh(); TODO DAM
+ TUI.set_cursor_position(1, 1);
+ // TODO Maybe add some color?
+ write_strings(TUI.Commands.DrawingMode, TUI.Drawings.Diamond, TUI.Commands.TextMode);
}
// Returns true if string to_compare is equal to any of the other passed strings, false otherwise.
@@ -1955,8 +1956,7 @@ main :: () {
if (error_saving) {
print_error("Press any key to close.");
draw_error_window();
- //timeout(INPUT_AWAIT_INF); TODO DAM
- //getch(); TODO DAM
+ TUI.get_key();
}
TUI.stop();