mirror of https://github.com/ipxe/ipxe.git
Some BIOSes return 0xe0 for extended characters. Just assume that
anything over 0x80 is an extended character.pull/1/head
parent
839d425c6e
commit
9c3b4e5b0b
|
@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
|
|||
character = ( keypress & 0xff );
|
||||
|
||||
/* If it's a normal character, just return it */
|
||||
if ( character )
|
||||
if ( character < 0x80 )
|
||||
return character;
|
||||
|
||||
/* Otherwise, check for a special key that we know about */
|
||||
|
|
Loading…
Reference in New Issue