1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Recognize Insert key on cons25 (FreeBSD console)

(cherry picked from commit b03ddccf08)

Conflicts:

	AUTHORS
	src/terminal/kbd.c
This commit is contained in:
Paul B. Mahol 2008-05-29 23:19:16 +02:00 committed by Kalle Olavi Niemitalo
parent 200e7ee259
commit 9dbfdb4738
2 changed files with 4 additions and 0 deletions

View File

@ -420,6 +420,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)
Peder Stray <peder@ifi.uio.no>
Fix handling of key presses turning up as key prefixes

View File

@ -683,6 +683,7 @@ decode_terminal_escape_sequence(struct itrm *itrm, struct term_event *ev)
case 'H': kbd.key = KBD_HOME; break;
case 'I': kbd.key = KBD_PAGE_UP; break;
case 'G': kbd.key = KBD_PAGE_DOWN; break;
case 'L': kbd.key = KBD_INS; break;
/* Free BSD */
/* case 'M': kbd.key = KBD_F1; break;*/
case 'N': kbd.key = KBD_F2; break;