Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2018 03:48:46 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331416 - in head/stand: efi/libefi i386/libi386
Message-ID:  <201803230348.w2N3mka2017081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Fri Mar 23 03:48:45 2018
New Revision: 331416
URL: https://svnweb.freebsd.org/changeset/base/331416

Log:
  Loader consoles: Implement SGR 22, reset intensity
  
  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	Fri Mar 23 03:22:30 2018	(r331415)
+++ head/stand/efi/libefi/efi_console.c	Fri Mar 23 03:48:45 2018	(r331416)
@@ -383,6 +383,9 @@ efi_term_emu(int c)
 					fg_c = bg_c;
 					bg_c = t;
 					break;
+				case 22:	/* normal intensity */
+					fg_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	Fri Mar 23 03:22:30 2018	(r331415)
+++ head/stand/i386/libi386/vidconsole.c	Fri Mar 23 03:48:45 2018	(r331416)
@@ -449,6 +449,9 @@ vidc_term_emu(int c)
 		    fg_c = bg_c;
 		    bg_c = t;
 		    break;
+                case 22:	/* normal intensity */
+                    fg_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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803230348.w2N3mka2017081>