diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-09 23:57:28 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-09 23:57:28 +0000 |
commit | 02a10e4f9c05e2d385c9ea30496436c855f877d4 (patch) | |
tree | 90a6fbe1bc60b55dc0bb728dad137cdc0ba890d4 /src/fe-text | |
parent | 37381fe1bc8429dfbee62f7520181d48dd24d9c8 (diff) | |
download | irssi-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.c | 5 |
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; } |