mirror of
https://github.com/irssi/irssi.git
synced 2024-08-04 03:34:18 -04:00
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
This commit is contained in:
parent
32902afcd0
commit
af08857261
@ -323,7 +323,11 @@ void readline(void)
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
key = getch();
|
key = getch();
|
||||||
if (key == ERR || key == KEY_RESIZE) break;
|
if (key == ERR
|
||||||
|
#ifdef KEY_RESIZE
|
||||||
|
|| key == KEY_RESIZE
|
||||||
|
#endif
|
||||||
|
) break;
|
||||||
|
|
||||||
handle_key(key);
|
handle_key(key);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user