Refactoring to avoid code duplication.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4344 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2006-09-12 17:23:46 +00:00 committed by exg
commit f57b551a86
4 changed files with 19 additions and 33 deletions

View file

@ -26,13 +26,9 @@
#ifdef HAVE_CUIX
#include "cuix.h"
#endif
#include "panel.h"
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
# include <ncurses.h>
#else
# include <curses.h>
#endif
#include "term-curses.h"
#include <termios.h>
#include <signal.h>
@ -48,12 +44,6 @@
# 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;