diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-02-02 10:13:42 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-02-02 10:13:42 +0000 |
commit | 2d417002bb62d294165cb3371f84bca61d769612 (patch) | |
tree | 6f77af1f86bdb512f77f3a6e2e031e6d5dabeda0 /src/fe-text/term-curses.c | |
parent | 036b1d3300eea87bbd1666886ee843384ee0b848 (diff) | |
download | irssi-2d417002bb62d294165cb3371f84bca61d769612.zip |
Remove term-curses.h (was added for cuix).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4695 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/term-curses.c')
-rw-r--r-- | src/fe-text/term-curses.c | 13 |
1 files changed, 11 insertions, 2 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; |