mirror of git://git.sv.gnu.org/nano.git
tweaks: discard a bracketed paste in the browser more efficiently
This commit is contained in:
parent
a374dd0359
commit
b561c386c3
|
@ -505,7 +505,9 @@ char *browse(char *path)
|
|||
}
|
||||
#endif /* ENABLE_MOUSE */
|
||||
#ifndef NANO_TINY
|
||||
if (bracketed_paste || kbinput == BRACKETED_PASTE_MARKER) {
|
||||
while (bracketed_paste)
|
||||
kbinput = get_kbinput(midwin, BLIND);
|
||||
if (kbinput == BRACKETED_PASTE_MARKER) {
|
||||
beep();
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue