From 3491fff478a7ebf7e9281595230528726828f48c Mon Sep 17 00:00:00 2001 From: dam Date: Tue, 9 Apr 2024 15:13:26 +0100 Subject: Clear style when stoping TUI. --- modules/TUI/module.jai | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/TUI') 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); } -- cgit v1.2.3