[console] Allow KEY_xxx constants to cover F8 function key
authorMichael Brown <mcb30@etherboot.org>
Sun, 25 Jan 2009 21:10:48 +0000 (21:10 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sun, 25 Jan 2009 21:10:48 +0000 (21:10 +0000)
commitce9690ca39207262d5d5540f23b3fc4788005ccc
treec5591577af0f9f4adaf1e178f38da46f5ea1a82e
parent3f814f08e50e6ffbe7d87c20dcc68bbc327cdaa4
[console] Allow KEY_xxx constants to cover F8 function key

F8 is represented by the ANSI escape sequence "^[[19~", which is not
representable as a KEY_xxx constant using the current encoding scheme.
Adapt the encoding scheme to allow F8 to be represented, since PXE
requires that we may need to prompt the user to press F8.
src/core/getkey.c
src/include/gpxe/keys.h