[console] Use sig_atomic_t for SIGWINCH

If it's not defined on other platforms, something can be done in
config.h
This commit is contained in:
Bill Currie 2020-03-23 16:16:50 +09:00
parent 178c8dec85
commit 9986b57a77

View file

@ -99,7 +99,7 @@ static view_t *output;
static view_t *status;
static view_t *input;
static int screen_x, screen_y;
static int interrupted;
static volatile sig_atomic_t interrupted;
static int batch_print;
#define MAXCMDLINE 256