summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-09 23:57:28 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-09 23:57:28 +0000
commit02a10e4f9c05e2d385c9ea30496436c855f877d4 (patch)
tree90a6fbe1bc60b55dc0bb728dad137cdc0ba890d4 /src/fe-text
parent37381fe1bc8429dfbee62f7520181d48dd24d9c8 (diff)
downloadirssi-02a10e4f9c05e2d385c9ea30496436c855f877d4.zip
Do not buffer keys when waiting for paste confirmation.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4746 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-readline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 5ef25021..f86521c4 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -412,8 +412,9 @@ static int check_pasting(unichar key, int diff)
}
/* continuing quick hits */
- if ((key == 11 || key == 3) && paste_prompt) {
- paste_flush(key == 11);
+ if (paste_prompt) {
+ if (key == 11 || key == 3)
+ paste_flush(key == 11);
return TRUE;
}