1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

terminal: Treat ESC O as Alt-O if the next byte is unsuitable for SS3.

This commit is contained in:
Kalle Olavi Niemitalo 2006-10-29 18:27:54 +02:00 committed by Kalle Olavi Niemitalo
parent d2006fd3dd
commit 23ca645054

View File

@ -1024,7 +1024,8 @@ process_queue(struct itrm *itrm)
set_kbd_event(&ev, itrm->in.queue.data[1],
KBD_MOD_ALT);
}
} else { /* ESC followed by something else */
}
if (el == 0) { /* Begins with ESC, but none of the above */
el = 2;
set_kbd_event(&ev, itrm->in.queue.data[1],
KBD_MOD_ALT);