1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

Recognize Insert key on cons25 (FreeBSD console)

This commit is contained in:
Paul B. Mahol 2008-05-29 23:19:16 +02:00 committed by Kalle Olavi Niemitalo
parent 2e1df1dc78
commit b03ddccf08
2 changed files with 4 additions and 0 deletions

View File

@ -433,6 +433,9 @@ Omar Khayam <omark@cyentec.com>
<otte@duke.edu>
Fix stdin reading on Mac OS X
Paul B. Mahol <onemda@gmail.com>
Recognize Insert key on cons25 (FreeBSD console)
Pavol Babincak <scroolik@gmail.com>
Improved UTF-8 support with double-width chars

View File

@ -807,6 +807,7 @@ decode_terminal_escape_sequence(struct itrm *itrm, struct interlink_event *ev)
case 'H': kbd.key = KBD_HOME; break; /* CUP khome cons25 */
case 'I': kbd.key = KBD_PAGE_UP; break; /* (CHT) kpp cons25 */
case 'G': kbd.key = KBD_PAGE_DOWN; break; /* (CHA) knp cons25 */
case 'L': kbd.key = KBD_INS; break; /* (IL) kich1 cons25 */
/* Free BSD (TERM=cons25 etc.) */
/* case 'M': kbd.key = KBD_F1; break;*/ /* (DL) kf1 cons25 */
case 'N': kbd.key = KBD_F2; break; /* (EF) kf2 cons25 */