help: don't list the unbound <Alt+Up> and <Alt+Down> in the tiny version

This commit is contained in:
Benno Schulenberg 2019-02-24 11:23:48 +01:00
parent 5e769686fb
commit 031166c34d

View File

@ -1213,13 +1213,13 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "M-)", 0, do_para_end_void, 0);
add_to_sclist(MMAIN, "M-0", 0, do_para_end_void, 0);
#endif
#if !defined(NANO_TINY) || defined(ENABLE_HELP)
#ifdef ENABLE_UTF8
#if !defined(NANO_TINY) && defined(ENABLE_UTF8)
if (using_utf8()) {
add_to_sclist(MMAIN|MHELP, "M-\xE2\x96\xb2", ALT_UP, do_scroll_up, 0);
add_to_sclist(MMAIN|MHELP, "M-\xE2\x96\xbc", ALT_DOWN, do_scroll_down, 0);
}
#endif
#if !defined(NANO_TINY) || defined(ENABLE_HELP)
add_to_sclist(MMAIN|MHELP, "M--", 0, do_scroll_up, 0);
add_to_sclist(MMAIN|MHELP, "M-_", 0, do_scroll_up, 0);
add_to_sclist(MMAIN|MHELP, "M-+", 0, do_scroll_down, 0);