prompt: disallow pasting when in restricted mode

master
Benno Schulenberg 2018-02-24 13:54:49 +01:00
parent cb0289f0dc
commit 2428620b16
1 changed files with 1 additions and 0 deletions

View File

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