diff --git a/src/winio.c b/src/winio.c index e246d611..4cc657f3 100644 --- a/src/winio.c +++ b/src/winio.c @@ -609,6 +609,13 @@ int parse_kbinput(WINDOW *win) if (modifiers == 0x08) 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 /* Is Ctrl being held? */ if (modifiers & 0x04) {