summaryrefslogtreecommitdiffstats
path: root/src/tui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui.c')
-rw-r--r--src/tui.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/tui.c b/src/tui.c
index 5f03316..2194af0 100644
--- a/src/tui.c
+++ b/src/tui.c
@@ -1,3 +1,4 @@
+#include <stdbool.h>
#define NCURSES_WIDECHAR 1
#define _GNU_SOURCE
@@ -1290,11 +1291,3 @@ tui_update(void)
return !quit;
}
-
-void
-tui_restore(void)
-{
- if (!isendwin())
- endwin();
-}
-