loader consoles: Implement SGR 24, 25

Mostly for completeness sake- implement 24 (no underline) and 25 (no blink)

MFC after:	3 days
This commit is contained in:
Kyle Evans 2018-03-24 02:01:25 +00:00
parent 1c1692795a
commit bc40337bb0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331475
2 changed files with 8 additions and 0 deletions

View file

@ -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];

View file

@ -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];