svn commit: r331475 - in head/stand: efi/libefi i386/libi386
Kyle Evans
kevans at FreeBSD.org
Sat Mar 24 02:01:26 UTC 2018
Author: kevans
Date: Sat Mar 24 02:01:25 2018
New Revision: 331475
URL: https://svnweb.freebsd.org/changeset/base/331475
Log:
loader consoles: Implement SGR 24, 25
Mostly for completeness sake- implement 24 (no underline) and 25 (no blink)
MFC after: 3 days
Modified:
head/stand/efi/libefi/efi_console.c
head/stand/i386/libi386/vidconsole.c
Modified: head/stand/efi/libefi/efi_console.c
==============================================================================
--- head/stand/efi/libefi/efi_console.c Sat Mar 24 01:53:43 2018 (r331474)
+++ head/stand/efi/libefi/efi_console.c Sat Mar 24 02:01:25 2018 (r331475)
@@ -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];
Modified: head/stand/i386/libi386/vidconsole.c
==============================================================================
--- head/stand/i386/libi386/vidconsole.c Sat Mar 24 01:53:43 2018 (r331474)
+++ head/stand/i386/libi386/vidconsole.c Sat Mar 24 02:01:25 2018 (r331475)
@@ -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];
More information about the svn-src-all
mailing list