X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/b3326ab63be167ddd883dbf7be33603f38bbd31d..1827e0643fc95b44d12eaf951be5994637d1b30d:/st.c 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: