With the old type, gui.c does not compile on curses implementations
other than ncurses.
static struct win_data {
WINDOW *win;
static struct win_data {
WINDOW *win;
- NCURSES_SIZE_T begx;
- NCURSES_SIZE_T begy;
- NCURSES_SIZE_T cols;
- NCURSES_SIZE_T lines;
+ size_t begx;
+ size_t begy;
+ size_t cols;
+ size_t lines;
} top, bot, sb, in, sep;
#define RINGBUFFER_SIZE 512
} top, bot, sb, in, sep;
#define RINGBUFFER_SIZE 512