aboutsummaryrefslogtreecommitdiff
path: root/ttt.jai
diff options
context:
space:
mode:
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 58a025b..b5dca56 100644
--- a/ttt.jai
+++ b/ttt.jai
@@ -17,7 +17,7 @@
// - release : jai ttt.jai -import_dir . -quiet -x64 -release
// - debug : jai ttt.jai -import_dir . -quiet -x64
-#import "Basic"()(MEMORY_DEBUGGER=true); // TODO Remove after final debug sessions.
+#import "Basic"()(MEMORY_DEBUGGER=true); // TODO Remove after final debug sessions. This takes up ~30MB of RAM.
#import "System";
#import "Sort";
#import "Math";
@@ -48,7 +48,7 @@ WINDOW :: struct { } // TODO DAM
VERSION :: "2.0"; // Use only 3 chars (to fit layouts).
-YEAR :: "2023";
+YEAR :: "2024";
FIRST_DAY_OF_WEEK :: 1; // (0-6, Sunday = 0).
NUM_WEEK_DAYS :: 7; // TODO This has to go - Just to be more clear about what we're looping about.
NAME_SIZE :: 72; // TODO Use this instead of Task.name.count ?
@@ -989,7 +989,7 @@ draw_tui :: (db: *Database, layout: *Layout) {
// TODO Maybe this could be simplified?
y = 1;
x = 1;
- write_string(TUI.Commands.StartDrawingMode);
+ write_string(TUI.Commands.DrawingMode);
for 0..layout.columns.count-2 {
column := layout.columns[it];
x += 1 + column.width;
@@ -1002,7 +1002,7 @@ draw_tui :: (db: *Database, layout: *Layout) {
TUI.set_cursor_position(size_y, x);
write_string(TUI.Drawings.TeeB);
}
- write_string(TUI.Commands.StartNormalMode);
+ write_string(TUI.Commands.TextMode);
///////////////////////////////////////////////////////////////////////////