diff options
| author | dam <devnull@localhost> | 2024-04-09 15:13:26 +0100 |
|---|---|---|
| committer | dam <devnull@localhost> | 2024-04-09 15:13:26 +0100 |
| commit | 3491fff478a7ebf7e9281595230528726828f48c (patch) | |
| tree | 701b83be986e5e5d9c6391955727c504e2cc42d7 /modules/TUI | |
| parent | 353d8b1145db12ffc42e4f6c2148a848ef8bba84 (diff) | |
| download | task-time-tracker-3491fff478a7ebf7e9281595230528726828f48c.tar.zst task-time-tracker-3491fff478a7ebf7e9281595230528726828f48c.zip | |
Clear style when stoping TUI.
Diffstat (limited to 'modules/TUI')
| -rw-r--r-- | modules/TUI/module.jai | 3 |
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); } |
