diff options
| author | uvok | 2026-01-11 11:02:54 +0100 |
|---|---|---|
| committer | uvok | 2026-01-11 11:02:54 +0100 |
| commit | a538fb5524fa771a16e8cc291cae6cce46ea546d (patch) | |
| tree | e85cc43d2851ab9423bebbf905d7e3e0c1e5cc6e /nandgame/cpp/simpc_ui.cpp | |
| parent | acd85c5766ae4fd4c7a961369540b3b5b4b4f146 (diff) | |
Move finish into UI
Diffstat (limited to 'nandgame/cpp/simpc_ui.cpp')
| -rw-r--r-- | nandgame/cpp/simpc_ui.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |
