aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c8
-rw-r--r--st.info4
2 files changed, 9 insertions, 3 deletions
diff --git a/st.c b/st.c
index 8e1afe2..bd230a3 100644
--- a/st.c
+++ b/st.c
@@ -1104,6 +1104,9 @@ tsetattr(int *attr, int l) {
1104 case 1: 1104 case 1:
1105 term.c.attr.mode |= ATTR_BOLD; 1105 term.c.attr.mode |= ATTR_BOLD;
1106 break; 1106 break;
1107 case 3: /* enter standout (highlight) mode TODO: make it italic */
1108 term.c.attr.mode |= ATTR_REVERSE;
1109 break;
1107 case 4: 1110 case 4:
1108 term.c.attr.mode |= ATTR_UNDERLINE; 1111 term.c.attr.mode |= ATTR_UNDERLINE;
1109 break; 1112 break;
@@ -1113,6 +1116,9 @@ tsetattr(int *attr, int l) {
1113 case 22: 1116 case 22:
1114 term.c.attr.mode &= ~ATTR_BOLD; 1117 term.c.attr.mode &= ~ATTR_BOLD;
1115 break; 1118 break;
1119 case 23: /* leave standout (highlight) mode TODO: make it italic */
1120 term.c.attr.mode &= ~ATTR_REVERSE;
1121 break;
1116 case 24: 1122 case 24:
1117 term.c.attr.mode &= ~ATTR_UNDERLINE; 1123 term.c.attr.mode &= ~ATTR_UNDERLINE;
1118 break; 1124 break;
@@ -1441,7 +1447,7 @@ strhandle(void) {
1441 */ 1447 */
1442 strparse(); 1448 strparse();
1443 1449
1444 p = strescseq.buf; 1450 p = strescseq.buf;
1445 1451
1446 switch(strescseq.type) { 1452 switch(strescseq.type) {
1447 case ']': /* OSC -- Operating System Command */ 1453 case ']': /* OSC -- Operating System Command */
diff --git a/st.info b/st.info
index 902c05a..e883319 100644
--- a/st.info
+++ b/st.info
@@ -86,7 +86,7 @@ st| simpleterm,
86 ri=\EM, 86 ri=\EM,
87 rmacs=\E(B, 87 rmacs=\E(B,
88 rmcup=\E[?1049l, 88 rmcup=\E[?1049l,
89 rmso=\E[m, 89 rmso=\E[23m,
90 rmul=\E[m, 90 rmul=\E[m,
91 sc=\E7, 91 sc=\E7,
92 setab=\E[4%p1%dm, 92 setab=\E[4%p1%dm,
@@ -97,7 +97,7 @@ st| simpleterm,
97 sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, 97 sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
98 smacs=\E(0, 98 smacs=\E(0,
99 smcup=\E[?1049h, 99 smcup=\E[?1049h,
100 smso=\E[7m, 100 smso=\E[3m,
101 smul=\E[4m, 101 smul=\E[4m,
102 tbc=\E[3g, 102 tbc=\E[3g,
103 tsl=\E]0;, 103 tsl=\E]0;,