diff --git a/stand/efi/libefi/efi_console.c b/stand/efi/libefi/efi_console.c index c18a132ce659..5c519ac8d9de 100644 --- a/stand/efi/libefi/efi_console.c +++ b/stand/efi/libefi/efi_console.c @@ -386,6 +386,10 @@ efi_term_emu(int c) case 22: /* normal intensity */ fg_c &= ~0x8; break; + case 24: /* not underline */ + case 25: /* not blinking */ + bg_c &= ~0x8; + break; case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: fg_c = ansi_col[args[i] - 30]; diff --git a/stand/i386/libi386/vidconsole.c b/stand/i386/libi386/vidconsole.c index 0ca24d184663..abb03e3cf89d 100644 --- a/stand/i386/libi386/vidconsole.c +++ b/stand/i386/libi386/vidconsole.c @@ -452,6 +452,10 @@ vidc_term_emu(int c) case 22: /* normal intensity */ fg_c &= ~0x8; break; + case 24: /* not underline */ + case 25: /* not blinking */ + bg_c &= ~0x8; + break; case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: fg_c = ansi_col[args[i] - 30];