commit 39ef702e2bd9c5668a93439c11a0b21998c9240f parent b2244ad6954a03243043d0dc0352dec4cb7b95d5 Author: Martin Kloeckner <mjkloeckner@gmail.com> Date: Sun, 31 Mar 2024 23:04:53 -0300 Do not clear board after exit Diffstat:
| M | guias/2/ej12.cpp | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/guias/2/ej12.cpp b/guias/2/ej12.cpp @@ -142,6 +142,8 @@ void game_redraw_board(void) { void game_tui_cleanup() { tui_reset_input_mode(); + std::cout << "\033[" << tui_total_height-(cursor_row*2)-1 << "E"; + // game_clear_board(); } void game_tui_setup() {
