* fhandler_console.cc (char_command): Fix code to select dim mode
to 2 rather than 9. Add entries for mode 22 (normal, not bold) 28 (visible, not invisible), 25 (not blinking).
This commit is contained in:
parent
a4a2296704
commit
f04f6d49fa
|
@ -1,3 +1,9 @@
|
|||
2009-12-15 Thomas Wolff <towo@towo.net>
|
||||
|
||||
* fhandler_console.cc (char_command): Fix code to select dim mode
|
||||
to 2 rather than 9. Add entries for mode 22 (normal, not bold)
|
||||
28 (visible, not invisible), 25 (not blinking).
|
||||
|
||||
2009-12-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* libc/getopt.c (getopt_internal): Set optreset according to optind
|
||||
|
|
|
@ -1136,7 +1136,10 @@ fhandler_console::char_command (char c)
|
|||
case 1: /* bold */
|
||||
dev_state->intensity = INTENSITY_BOLD;
|
||||
break;
|
||||
case 4:
|
||||
case 2: /* dim */
|
||||
dev_state->intensity = INTENSITY_DIM;
|
||||
break;
|
||||
case 4: /* underlined */
|
||||
dev_state->underline = 1;
|
||||
break;
|
||||
case 5: /* blink mode */
|
||||
|
@ -1148,18 +1151,22 @@ fhandler_console::char_command (char c)
|
|||
case 8: /* invisible */
|
||||
dev_state->intensity = INTENSITY_INVISIBLE;
|
||||
break;
|
||||
case 9: /* dim */
|
||||
dev_state->intensity = INTENSITY_DIM;
|
||||
break;
|
||||
case 10: /* end alternate charset */
|
||||
dev_state->alternate_charset_active = false;
|
||||
break;
|
||||
case 11: /* start alternate charset */
|
||||
dev_state->alternate_charset_active = true;
|
||||
break;
|
||||
case 22:
|
||||
case 28:
|
||||
dev_state->intensity = INTENSITY_NORMAL;
|
||||
break;
|
||||
case 24:
|
||||
dev_state->underline = false;
|
||||
break;
|
||||
case 25:
|
||||
dev_state->blink = false;
|
||||
break;
|
||||
case 27:
|
||||
dev_state->reverse = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue