From a538fb5524fa771a16e8cc291cae6cce46ea546d Mon Sep 17 00:00:00 2001 From: uvok Date: Sun, 11 Jan 2026 11:02:54 +0100 Subject: Move finish into UI --- nandgame/cpp/simpc_ui.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nandgame/cpp/simpc_ui.cpp') diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index 2fce3b8..5a75121 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -98,3 +98,10 @@ void draw_init(void) { curs_set(0); #endif } + +void ui_finish(void) { +#if NCUR + getch(); + endwin(); +#endif +} -- cgit v1.2.3