Commit 00c20547 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

don't allow verbatim input in view mode

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 25026777
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -16,6 +16,9 @@ CVS code -
write_marked()
- New function used to write the current marked selection to a
file, split out from do_writeout(). (DLR)
- global.c:
shortcut_init()
- Only allow verbatim input when we're not in view mode. (DLR)
- nano.c:
do_verbatim_input()
- Remove the now-unneeded code to disable XON, XOFF, and
......
......@@ -580,7 +580,7 @@ void shortcut_init(int unjustify)
sc_init_one(&main_list, NANO_NO_KEY, _("Verbatim Input"),
IFHELP(nano_verbatim_msg, NANO_VERBATIM_KEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, do_verbatim_input);
NANO_NO_KEY, NOVIEW, do_verbatim_input);
#ifdef ENABLE_MULTIBUFFER
sc_init_one(&main_list, NANO_NO_KEY, _("Previous File"),
......
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