1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-21 03:14:16 -04:00

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
This commit is contained in:
Emanuele Giaquinta 2008-03-09 23:57:28 +00:00 committed by exg
parent 37381fe1bc
commit 02a10e4f9c

View File

@ -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;
}