From 810446f5be5fb9fcec2cdc4be1b3fe53f81dc67c Mon Sep 17 00:00:00 2001 From: kevans Date: Sat, 24 Mar 2018 02:01:25 +0000 Subject: [PATCH] loader consoles: Implement SGR 24, 25 Mostly for completeness sake- implement 24 (no underline) and 25 (no blink) MFC after: 3 days --- stand/efi/libefi/efi_console.c | 4 ++++ stand/i386/libi386/vidconsole.c | 4 ++++ 2 files changed, 8 insertions(+) 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];