mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-09 19:12:50 +03:00
tweaks: exclude a bit of bracketed-paste code from the tiny version
The tiny version does not support bracketed pastes.
This commit is contained in:
parent
0f2dd8456f
commit
187843d2da
@ -500,9 +500,11 @@ const keystruct *get_shortcut(int *keycode)
|
||||
if (meta_key && *keycode < 0x20)
|
||||
return NULL;
|
||||
|
||||
#ifndef NANO_TINY
|
||||
/* During a paste at a prompt, ignore all command keycodes. */
|
||||
if (bracketed_paste && *keycode != BRACKETED_PASTE_MARKER)
|
||||
return NULL;
|
||||
#endif
|
||||
|
||||
for (keystruct *sc = sclist; sc != NULL; sc = sc->next) {
|
||||
if ((sc->menus & currmenu) && *keycode == sc->keycode)
|
||||
|
Loading…
Reference in New Issue
Block a user