From 2428620b168dfc2294dc30e66e01ce8c2befe0df Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@telfort.nl> Date: Sat, 24 Feb 2018 13:54:49 +0100 Subject: [PATCH] prompt: disallow pasting when in restricted mode --- src/prompt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/prompt.c b/src/prompt.c index 3519a548..280fb6fa 100644 --- a/src/prompt.c +++ b/src/prompt.c @@ -156,6 +156,7 @@ int do_statusbar_input(bool *ran_func, bool *finished) openfile->filename[0] != '\0' && (s->scfunc == do_verbatim_input || s->scfunc == do_cut_text_void || + s->scfunc == do_uncut_text || s->scfunc == do_delete || s->scfunc == do_backspace)) ; -- GitLab