]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bios] Recognise Page Up and Page Down keys
authorMichael Brown <mcb30@ipxe.org>
Thu, 29 Mar 2012 11:50:08 +0000 (12:50 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 29 Mar 2012 12:05:49 +0000 (13:05 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/firmware/pcbios/bios_console.c

index 097de2b8821e718171c24b8f019ed300ac2011f3..7f9892fcbdb2f4970ad92aa93112af98817001f9 100644 (file)
@@ -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 */