summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-05-11 13:01:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-05-11 13:01:46 +0000
commit1cc3891821743a8a06ad11228ecd93d5bf84fd7d (patch)
treea09d9c06e887b85b1b35cc0177ac4d2582df686b /src
parentf3f8eb620a4c47da0479b2fc7c8e1e1ed386d5c8 (diff)
downloadirssi-1cc3891821743a8a06ad11228ecd93d5bf84fd7d.zip
KEY_RESIZE is sent when screen is resized, ignore it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1473 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/gui-readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index d1fc769b..aab1c156 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -322,7 +322,7 @@ void readline(void)
for (;;) {
key = getch();
- if (key == ERR) break;
+ if (key == ERR || key == KEY_RESIZE) break;
handle_key(key);
}