about summary refs log tree commit diff
path: root/Src/Modules/curses.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/curses.c')
-rw-r--r--Src/Modules/curses.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index 3ecc64850..fa1ea8b3b 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -380,6 +380,7 @@ boot_(Module m)
 int
 cleanup_(Module m)
 {
+    endwin();
     freelinklist(zcurses_windows, (FreeFunc) zcurses_free_window);
     return setfeatureenables(m, &module_features, NULL);
 }