From 187843d2da2b3c7cae5a235d589bcf9e317513cf Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 14 May 2020 18:47:50 +0200 Subject: [PATCH] tweaks: exclude a bit of bracketed-paste code from the tiny version The tiny version does not support bracketed pastes. --- src/global.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/global.c b/src/global.c index 84103d26..f5f63ace 100644 --- a/src/global.c +++ b/src/global.c @@ -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)