Standout mode has changed. Thanks p37sitdu@lavabit.com!

master
Christoph Lohmann 12 years ago
parent b3326ab63b
commit 1827e0643f

@ -1390,7 +1390,7 @@ tsetattr(int *attr, int l) {
case 1: case 1:
term.c.attr.mode |= ATTR_BOLD; term.c.attr.mode |= ATTR_BOLD;
break; break;
case 3: /* enter standout (highlight) */ case 3:
term.c.attr.mode |= ATTR_ITALIC; term.c.attr.mode |= ATTR_ITALIC;
break; break;
case 4: case 4:
@ -1406,7 +1406,7 @@ tsetattr(int *attr, int l) {
case 22: case 22:
term.c.attr.mode &= ~ATTR_BOLD; term.c.attr.mode &= ~ATTR_BOLD;
break; break;
case 23: /* leave standout (highlight) mode */ case 23:
term.c.attr.mode &= ~ATTR_ITALIC; term.c.attr.mode &= ~ATTR_ITALIC;
break; break;
case 24: case 24:

Loading…
Cancel
Save