tweaks: reorder some code to put backward motion before the forward one
Этот коммит содержится в:
родитель
03d10941cc
Коммит
4bd423fc92
@ -462,11 +462,11 @@ functionptrtype parse_browser_input(int *kbinput)
|
||||
{
|
||||
if (!meta_key) {
|
||||
switch (*kbinput) {
|
||||
case DEL_CODE:
|
||||
case '-':
|
||||
return do_page_up;
|
||||
case ' ':
|
||||
return do_page_down;
|
||||
case '-':
|
||||
case DEL_CODE:
|
||||
return do_page_up;
|
||||
case '?':
|
||||
return do_help_void;
|
||||
case 'E':
|
||||
|
@ -928,10 +928,10 @@ void shortcut_init(void)
|
||||
add_to_funcs(do_enter, MMAIN,
|
||||
N_("Enter"), WITHORSANS(enter_gist), BLANKAFTER, NOVIEW);
|
||||
|
||||
add_to_funcs(do_delete, MMAIN,
|
||||
N_("Delete"), WITHORSANS(delete_gist), TOGETHER, NOVIEW);
|
||||
add_to_funcs(do_backspace, MMAIN,
|
||||
N_("Backspace"), WITHORSANS(backspace_gist),
|
||||
N_("Backspace"), WITHORSANS(backspace_gist), TOGETHER, NOVIEW);
|
||||
add_to_funcs(do_delete, MMAIN,
|
||||
N_("Delete"), WITHORSANS(delete_gist),
|
||||
#ifndef NANO_TINY
|
||||
TOGETHER,
|
||||
#else
|
||||
|
@ -567,11 +567,11 @@ functionptrtype parse_help_input(int *kbinput)
|
||||
{
|
||||
if (!meta_key) {
|
||||
switch (*kbinput) {
|
||||
case DEL_CODE:
|
||||
case '-':
|
||||
return do_page_up;
|
||||
case ' ':
|
||||
return do_page_down;
|
||||
case '-':
|
||||
case DEL_CODE:
|
||||
return do_page_up;
|
||||
case 'W':
|
||||
case 'w':
|
||||
case '/':
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user