tweaks: discard a bracketed paste in the browser more efficiently

This commit is contained in:
Benno Schulenberg 2022-08-21 10:45:49 +02:00
parent a374dd0359
commit b561c386c3
1 changed files with 3 additions and 1 deletions

View File

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