Browse Source

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

master
Christoph Lohmann 12 years ago
parent
commit
1827e0643f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      st.c

+ 2
- 2
st.c View File

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