From 2ec6ef66d9fdc4f225c5f0e6317bb7ecba040533 Mon Sep 17 00:00:00 2001 From: dam Date: Wed, 28 Aug 2024 13:29:57 +0100 Subject: Update TUI module to fix memory leak; Only sort if tasks are available. --- modules/TUI/module.jai | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/TUI/module.jai') 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; } -- cgit v1.2.3