From 22e3b95ce23808ee08a5fa3b0481c17c2e5506d6 Mon Sep 17 00:00:00 2001 From: dam Date: Mon, 20 May 2024 23:19:55 +0100 Subject: Updated TUI module to clear inside error message box. --- ttt.jai | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ttt.jai') diff --git a/ttt.jai b/ttt.jai index d5d6e4e..1bfabd0 100644 --- a/ttt.jai +++ b/ttt.jai @@ -141,7 +141,7 @@ draw_error_window :: () { pos_y := 1 + (size_y - w_size_y) / 2; TUI.using_style(style_error); - TUI.draw_box(pos_x, pos_y, w_size_x, w_size_y); + TUI.draw_box(pos_x, pos_y, w_size_x, w_size_y, true); TUI.set_cursor_position(pos_x + 1, pos_y); write_string(" Error "); TUI.set_cursor_position(pos_x + 1, pos_y + 1); -- cgit v1.2.3