Commit 2428620b authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

prompt: disallow pasting when in restricted mode

No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -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))
;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment