summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/term-curses.c13
-rw-r--r--src/fe-text/term-curses.h11
2 files changed, 11 insertions, 13 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c
index 8856a236..71406c76 100644
--- a/src/fe-text/term-curses.c
+++ b/src/fe-text/term-curses.c
@@ -24,8 +24,11 @@
#include "term.h"
#include "mainwindows.h"
-#include "term-curses.h"
-
+#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
+# include <ncurses.h>
+#else
+# include <curses.h>
+#endif
#include <termios.h>
#include <signal.h>
@@ -41,6 +44,12 @@
# define _POSIX_VDISABLE 0
#endif
+struct _TERM_WINDOW {
+ int x, y;
+ int width, height;
+ WINDOW *win;
+};
+
TERM_WINDOW *root_window;
static int curs_x, curs_y;
diff --git a/src/fe-text/term-curses.h b/src/fe-text/term-curses.h
deleted file mode 100644
index 4103b6d1..00000000
--- a/src/fe-text/term-curses.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
-# include <ncurses.h>
-#else
-# include <curses.h>
-#endif
-
-struct _TERM_WINDOW {
- int x, y;
- int width, height;
- WINDOW *win;
-};