summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2012-03-29 13:50:08 +0200
committerMichael Brown2012-03-29 14:05:49 +0200
commit0b445275c421f9292adca5b4480dad7a0136f6a0 (patch)
tree0140ec4d59f303167d8f02ae6ee0deec33051b01 /src/arch
parent[parseopt] Allow "prompt" command to accept character literals for --key (diff)
downloadipxe-0b445275c421f9292adca5b4480dad7a0136f6a0.tar.gz
ipxe-0b445275c421f9292adca5b4480dad7a0136f6a0.tar.xz
ipxe-0b445275c421f9292adca5b4480dad7a0136f6a0.zip
[bios] Recognise Page Up and Page Down keys
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/firmware/pcbios/bios_console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/firmware/pcbios/bios_console.c b/src/arch/i386/firmware/pcbios/bios_console.c
index 097de2b88..7f9892fcb 100644
--- a/src/arch/i386/firmware/pcbios/bios_console.c
+++ b/src/arch/i386/firmware/pcbios/bios_console.c
@@ -216,6 +216,8 @@ static const char ansi_sequences[] = {
BIOS_KEY ( "\x4d", "[C" ) /* Right arrow */
BIOS_KEY ( "\x47", "[H" ) /* Home */
BIOS_KEY ( "\x4f", "[F" ) /* End */
+ BIOS_KEY ( "\x49", "[5~" ) /* Page up */
+ BIOS_KEY ( "\x51", "[6~" ) /* Page down */
BIOS_KEY ( "\x3f", "[15~" ) /* F5 */
BIOS_KEY ( "\x40", "[17~" ) /* F6 */
BIOS_KEY ( "\x41", "[18~" ) /* F7 */