Procházet zdrojové kódy

Some BIOSes return 0xe0 for extended characters. Just assume that

anything over 0x80 is an extended character.
tags/v0.9.3
Michael Brown před 17 roky
rodič
revize
9c3b4e5b0b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/arch/i386/firmware/pcbios/bios_console.c

+ 1
- 1
src/arch/i386/firmware/pcbios/bios_console.c Zobrazit soubor

@@ -249,7 +249,7 @@ static int bios_getchar ( void ) {
249 249
 	character = ( keypress & 0xff );
250 250
 
251 251
 	/* If it's a normal character, just return it */
252
-	if ( character )
252
+	if ( character < 0x80 )
253 253
 		return character;
254 254
 
255 255
 	/* Otherwise, check for a special key that we know about */

Načítá se…
Zrušit
Uložit