Fix for bug #22632: verbatim input in prompts broken with nano-2.0.99pre1

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4234 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2008-03-17 05:50:04 +00:00
parent d3659f8284
commit aa17df0bfd
1 changed files with 4 additions and 1 deletions

View File

@ -842,6 +842,9 @@ void shortcut_init(bool unjustify)
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"), add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"),
IFSCHELP(nano_verbatim_msg), FALSE, NOVIEW); IFSCHELP(nano_verbatim_msg), FALSE, NOVIEW);
add_to_funcs(do_verbatim_input, MWHEREIS|MREPLACE|MREPLACE2|MEXTCMD|MSPELL,
"", "", FALSE, NOVIEW);
add_to_funcs(do_tab, MMAIN, N_("Tab"), IFSCHELP(nano_tab_msg), add_to_funcs(do_tab, MMAIN, N_("Tab"), IFSCHELP(nano_tab_msg),
FALSE, NOVIEW); FALSE, NOVIEW);
add_to_funcs(do_tab, MALL, "", "", FALSE, NOVIEW); add_to_funcs(do_tab, MALL, "", "", FALSE, NOVIEW);
@ -1122,7 +1125,7 @@ void shortcut_init(bool unjustify)
add_to_sclist(MMAIN, "M->", switch_to_next_buffer_void, 0, TRUE); add_to_sclist(MMAIN, "M->", switch_to_next_buffer_void, 0, TRUE);
add_to_sclist(MMAIN, "M-.", switch_to_next_buffer_void, 0, TRUE); add_to_sclist(MMAIN, "M-.", switch_to_next_buffer_void, 0, TRUE);
#endif #endif
add_to_sclist(MMAIN, "M-V", do_verbatim_input, 0, TRUE); add_to_sclist(MALL, "M-V", do_verbatim_input, 0, TRUE);
#ifndef NANO_TINY #ifndef NANO_TINY
add_to_sclist(MALL, "M-T", do_cut_till_end, 0, TRUE); add_to_sclist(MALL, "M-T", do_cut_till_end, 0, TRUE);
#ifndef DISABLE_JUSTIFY #ifndef DISABLE_JUSTIFY