diff options
author | Timo Sirainen <cras@irssi.org> | 2001-05-17 11:13:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-05-17 11:13:06 +0000 |
commit | af088572619e8e57c75e30293e223c779248f264 (patch) | |
tree | c618fcf650b58e93fcb1898edf99fe3e4a5c4553 /src | |
parent | 32902afcd0075fd796c23a0be2cb72b47bd8632d (diff) | |
download | irssi-af088572619e8e57c75e30293e223c779248f264.zip |
KEY_RESIZE isn't defined in all curseses, #ifdef it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1498 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-readline.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 527df019..b6fceb89 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -323,7 +323,11 @@ void readline(void) for (;;) { key = getch(); - if (key == ERR || key == KEY_RESIZE) break; + if (key == ERR +#ifdef KEY_RESIZE + || key == KEY_RESIZE +#endif + ) break; handle_key(key); } |