diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-03-24 02:01:25 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-03-24 02:01:25 +0000 |
commit | bc40337bb0a00eb74f96a902f00e59e9fb76a4f5 (patch) | |
tree | 12c0d10ae6f2c70ba054d78bfa736679c767bb66 /stand | |
parent | 1c1692795a6502a226fa8da559af7d6a9b4313c0 (diff) | |
download | src-bc40337bb0a00eb74f96a902f00e59e9fb76a4f5.tar.gz src-bc40337bb0a00eb74f96a902f00e59e9fb76a4f5.zip |
loader consoles: Implement SGR 24, 25
Mostly for completeness sake- implement 24 (no underline) and 25 (no blink)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=331475
Diffstat (limited to 'stand')
-rw-r--r-- | stand/efi/libefi/efi_console.c | 4 | ||||
-rw-r--r-- | stand/i386/libi386/vidconsole.c | 4 |
2 files changed, 8 insertions, 0 deletions
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]; |