Fix for Savannah bug #23442: left/right arrow keys do not work with --enable-tiny

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4262 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2008-06-03 05:55:04 +00:00
parent 8b6461fc80
commit 3daeeebf91
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-05-31 Chris Allegretta <chrisa@asty.org>
* global.c: Fix for Savannah bug #23442: left/right arrow keys
do not work with --enable-tiny (by Mike Frysinger)
2008-05-31 Chris Allegretta <chrisa@asty.org> 2008-05-31 Chris Allegretta <chrisa@asty.org>
* files.c,proto.h,text.c: Fix for conflicts with AIX curses * files.c,proto.h,text.c: Fix for conflicts with AIX curses
variables, from William Jojo <jojowil@hvcc.edu> variables, from William Jojo <jojowil@hvcc.edu>

View File

@ -1056,12 +1056,12 @@ void shortcut_init(bool unjustify)
add_to_sclist(MMAIN, "M-}", do_indent_void, 0, TRUE); add_to_sclist(MMAIN, "M-}", do_indent_void, 0, TRUE);
add_to_sclist(MMAIN, "M-{", do_unindent, 0, TRUE); add_to_sclist(MMAIN, "M-{", do_unindent, 0, TRUE);
add_to_sclist(MALL, "^F", do_right, 0, TRUE); add_to_sclist(MALL, "^F", do_right, 0, TRUE);
add_to_sclist(MALL, "kright", do_right, 0, TRUE);
add_to_sclist(MALL, "^B", do_left, 0, TRUE); add_to_sclist(MALL, "^B", do_left, 0, TRUE);
add_to_sclist(MALL, "kleft", do_left, 0, TRUE);
add_to_sclist(MMAIN, "^Space", do_next_word_void, 0, TRUE); add_to_sclist(MMAIN, "^Space", do_next_word_void, 0, TRUE);
add_to_sclist(MMAIN, "M-Space", do_prev_word_void, 0, TRUE); add_to_sclist(MMAIN, "M-Space", do_prev_word_void, 0, TRUE);
#endif #endif
add_to_sclist(MALL, "kright", do_right, 0, TRUE);
add_to_sclist(MALL, "kleft", do_left, 0, TRUE);
add_to_sclist(MMAIN, "^Q", xon_complaint, 0, TRUE); add_to_sclist(MMAIN, "^Q", xon_complaint, 0, TRUE);
add_to_sclist(MMAIN, "^S", xoff_complaint, 0, TRUE); add_to_sclist(MMAIN, "^S", xoff_complaint, 0, TRUE);
add_to_sclist(MALL, "^P", do_up_void, 0, TRUE); add_to_sclist(MALL, "^P", do_up_void, 0, TRUE);