Make PgUp/PgDn working in syscons.

This commit is contained in:
Maxim Sobolev 2006-06-20 00:00:38 +00:00
parent 2bc33a9989
commit d62cc106e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=165820
2 changed files with 16 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= newt
PORTVERSION= 0.51.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/

View file

@ -0,0 +1,15 @@
$FreeBSD$
--- newt.c
+++ newt.c
@@ -94,6 +94,9 @@
{ "\033[6~", NEWT_KEY_PGDN, NULL },
{ "\033V", NEWT_KEY_PGUP, "kH" },
{ "\033v", NEWT_KEY_PGUP, "kH" },
+
+ { "\033[G", NEWT_KEY_PGDN, NULL },
+ { "\033[I", NEWT_KEY_PGUP, NULL },
{ "\033[[A", NEWT_KEY_F1, NULL },
{ "\033[[B", NEWT_KEY_F2, NULL },