- FreeBSD compat. Remove KEY_DC from the delete shortcut in global.c:shortcut_init(), add case for 330 under nano.c:main()
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1171 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
7162e3d686
commit
108ff58956
|
@ -4,6 +4,8 @@ CVS code -
|
||||||
- Allow --tiny and --multibuffer to cooperate (who the heck
|
- Allow --tiny and --multibuffer to cooperate (who the heck
|
||||||
would want this is beyond me but ;-). Changes to
|
would want this is beyond me but ;-). Changes to
|
||||||
configure.ac, global.c, , (David Benbennick).
|
configure.ac, global.c, , (David Benbennick).
|
||||||
|
- FreeBSD compat. Remove KEY_DC from the delete shortcut in
|
||||||
|
global.c:shortcut_init(), add case for 330 under nano.c:main().
|
||||||
- configure.ac:
|
- configure.ac:
|
||||||
- Define NDEBUG to silence asserts (David Benbennick).
|
- Define NDEBUG to silence asserts (David Benbennick).
|
||||||
- files.c:
|
- files.c:
|
||||||
|
|
2
global.c
2
global.c
|
@ -453,7 +453,7 @@ void shortcut_init(int unjustify)
|
||||||
nano_mark_msg, NANO_ALT_MARK_KEY, 0, 0, NOVIEW, do_mark);
|
nano_mark_msg, NANO_ALT_MARK_KEY, 0, 0, NOVIEW, do_mark);
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_DELETE_KEY, _("Delete"),
|
sc_init_one(&main_list, NANO_DELETE_KEY, _("Delete"),
|
||||||
nano_delete_msg, 0, KEY_DC,
|
nano_delete_msg, 0, 0,
|
||||||
NANO_CONTROL_D, NOVIEW, do_delete);
|
NANO_CONTROL_D, NOVIEW, do_delete);
|
||||||
|
|
||||||
sc_init_one(&main_list, NANO_BACKSPACE_KEY, _("Backspace"),
|
sc_init_one(&main_list, NANO_BACKSPACE_KEY, _("Backspace"),
|
||||||
|
|
Loading…
Reference in New Issue