aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-01-08 20:36:49 +0100
committerChristoph Lohmann <20h@r-36.net>2013-01-08 20:36:49 +0100
commit1827e0643fc95b44d12eaf951be5994637d1b30d (patch)
tree97c69967be6db5909d6193e1327f3e2e8a6ad548 /st.c
parentb3326ab63be167ddd883dbf7be33603f38bbd31d (diff)
downloadst-1827e0643fc95b44d12eaf951be5994637d1b30d.tar.gz
Standout mode has changed. Thanks p37sitdu@lavabit.com!
Diffstat (limited to 'st.c')
-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:
remember that computers suck.