aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authordam <devnull@localhost>2024-04-09 15:13:26 +0100
committerdam <devnull@localhost>2024-04-09 15:13:26 +0100
commit3491fff478a7ebf7e9281595230528726828f48c (patch)
tree701b83be986e5e5d9c6391955727c504e2cc42d7 /modules
parent353d8b1145db12ffc42e4f6c2148a848ef8bba84 (diff)
downloadtask-time-tracker-3491fff478a7ebf7e9281595230528726828f48c.tar.zst
task-time-tracker-3491fff478a7ebf7e9281595230528726828f48c.zip
Clear style when stoping TUI.
Diffstat (limited to 'modules')
-rw-r--r--modules/TUI/module.jai3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/TUI/module.jai b/modules/TUI/module.jai
index e7dc21a..e0bd9b4 100644
--- a/modules/TUI/module.jai
+++ b/modules/TUI/module.jai
@@ -547,7 +547,8 @@ start :: () {
stop :: () {
if active == false return;
active = false;
-
+
+ clear_style();
OS_reset_terminal();
write_strings(Commands.MainScreenBuffer, Commands.RestoreCursorPosition, Commands.ShowCursor);
}