bindings: make <Alt+Up> and <Alt+Down> work also on a Linux console
This fixes https://savannah.gnu.org/bugs/?54964.master
parent
7dad21f4f4
commit
15ec0eb3ee
|
@ -609,6 +609,13 @@ int parse_kbinput(WINDOW *win)
|
||||||
if (modifiers == 0x08)
|
if (modifiers == 0x08)
|
||||||
return ALT_DELETE;
|
return ALT_DELETE;
|
||||||
}
|
}
|
||||||
|
/* Is Alt being held? */
|
||||||
|
if (modifiers == 0x08) {
|
||||||
|
if (retval == KEY_UP)
|
||||||
|
return ALT_UP;
|
||||||
|
if (retval == KEY_DOWN)
|
||||||
|
return ALT_DOWN;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
/* Is Ctrl being held? */
|
/* Is Ctrl being held? */
|
||||||
if (modifiers & 0x04) {
|
if (modifiers & 0x04) {
|
||||||
|
|
Loading…
Reference in New Issue