summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2013-01-08 20:36:49 +0100
committerChristoph Lohmann2013-01-08 20:36:49 +0100
commit1827e0643fc95b44d12eaf951be5994637d1b30d (patch)
tree97c69967be6db5909d6193e1327f3e2e8a6ad548
parentb3326ab63be167ddd883dbf7be33603f38bbd31d (diff)
downloadst-1827e0643fc95b44d12eaf951be5994637d1b30d.tar.gz
st-1827e0643fc95b44d12eaf951be5994637d1b30d.tar.xz
st-1827e0643fc95b44d12eaf951be5994637d1b30d.zip
Standout mode has changed. Thanks p37sitdu@lavabit.com!
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index a992005..213541f 100644
--- a/st.c
+++ b/st.c
@@ -1390,7 +1390,7 @@ tsetattr(int *attr, int l) {
case 1:
term.c.attr.mode |= ATTR_BOLD;
break;
- case 3: /* enter standout (highlight) */
+ case 3:
term.c.attr.mode |= ATTR_ITALIC;
break;
case 4:
@@ -1406,7 +1406,7 @@ tsetattr(int *attr, int l) {
case 22:
term.c.attr.mode &= ~ATTR_BOLD;
break;
- case 23: /* leave standout (highlight) mode */
+ case 23:
term.c.attr.mode &= ~ATTR_ITALIC;
break;
case 24: