aboutsummaryrefslogtreecommitdiff
path: root/modules/TUI/module.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-08-28 13:29:57 +0100
committerdam <dam@gudinoff>2024-08-28 14:51:07 +0100
commit2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533 (patch)
treefec5dd8c33a6225435add99e016ae15996f19de1 /modules/TUI/module.jai
parent10045da39d6eb6aa767b360fbea43d5361383c15 (diff)
downloadtask-time-tracker-2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533.tar.zst
task-time-tracker-2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533.zip
Update TUI module to fix memory leak; Only sort if tasks are available.v3.2
Diffstat (limited to 'modules/TUI/module.jai')
-rw-r--r--modules/TUI/module.jai2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai
index 124b906..1ed950b 100644
--- a/modules/TUI/module.jai
+++ b/modules/TUI/module.jai
@@ -383,6 +383,8 @@ reset_terminal :: () -> success := true #must {
Commands.RestoreCursorPosition,
Commands.ShowCursor
);
+
+ reset_key_map();
return;
}