mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Bug 772: Recognize ESC [ Z as Shift-Tab, and bind it like Alt-Tab by default.
This commit is contained in:
parent
c6f871b3af
commit
b42f0ba153
@ -712,6 +712,7 @@ static struct default_kb default_main_keymap[] = {
|
||||
{ { KBD_RIGHT, KBD_MOD_CTRL }, ACT_MAIN_LINK_FOLLOW_RELOAD },
|
||||
{ { KBD_TAB, KBD_MOD_NONE }, ACT_MAIN_FRAME_NEXT },
|
||||
{ { KBD_TAB, KBD_MOD_ALT }, ACT_MAIN_FRAME_PREV },
|
||||
{ { KBD_TAB, KBD_MOD_SHIFT}, ACT_MAIN_FRAME_PREV },
|
||||
{ { KBD_UP, KBD_MOD_NONE }, ACT_MAIN_MOVE_LINK_PREV },
|
||||
{ { 0, 0 }, 0 }
|
||||
};
|
||||
@ -749,6 +750,7 @@ static struct default_kb default_edit_keymap[] = {
|
||||
{ { KBD_RIGHT, KBD_MOD_NONE }, ACT_EDIT_RIGHT },
|
||||
{ { KBD_TAB, KBD_MOD_NONE }, ACT_EDIT_NEXT_ITEM },
|
||||
{ { KBD_TAB, KBD_MOD_ALT }, ACT_EDIT_PREVIOUS_ITEM },
|
||||
{ { KBD_TAB, KBD_MOD_SHIFT}, ACT_EDIT_PREVIOUS_ITEM },
|
||||
{ { KBD_UP, KBD_MOD_NONE }, ACT_EDIT_UP },
|
||||
{ { 0, 0 }, 0 }
|
||||
};
|
||||
@ -785,6 +787,7 @@ static struct default_kb default_menu_keymap[] = {
|
||||
{ { KBD_RIGHT, KBD_MOD_NONE }, ACT_MENU_RIGHT },
|
||||
{ { KBD_TAB, KBD_MOD_NONE }, ACT_MENU_NEXT_ITEM },
|
||||
{ { KBD_TAB, KBD_MOD_ALT }, ACT_MENU_PREVIOUS_ITEM },
|
||||
{ { KBD_TAB, KBD_MOD_SHIFT}, ACT_MENU_PREVIOUS_ITEM },
|
||||
{ { KBD_UP, KBD_MOD_NONE }, ACT_MENU_UP },
|
||||
{ { 0, 0 }, 0}
|
||||
};
|
||||
|
@ -737,6 +737,9 @@ decode_terminal_escape_sequence(struct itrm *itrm, struct interlink_event *ev)
|
||||
case 'W': kbd.key = KBD_F11; break; /* (CTC) kf11 cons25 */
|
||||
case 'X': kbd.key = KBD_F12; break; /* (ECH) kf12 cons25 */
|
||||
|
||||
case 'Z': /* CBT kcbt cons25 */
|
||||
kbd.key = KBD_TAB; kbd.modifier = KBD_MOD_SHIFT; break;
|
||||
|
||||
case 'z': switch (v) { /* private */
|
||||
case 247: kbd.key = KBD_INS; break; /* kich1 */
|
||||
case 214: kbd.key = KBD_HOME; break; /* khome sun */
|
||||
|
Loading…
Reference in New Issue
Block a user