Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
b3326ab
)
Standout mode has changed. Thanks
[email protected]
!
author
Christoph Lohmann <
[email protected]
>
Tue, 8 Jan 2013 19:36:49 +0000
(20:36 +0100)
committer
Christoph Lohmann <
[email protected]
>
Tue, 8 Jan 2013 19:36:49 +0000
(20:36 +0100)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
a992005
..
213541f
100644
(file)
--- 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 1:
term.c.attr.mode |= ATTR_BOLD;
break;
- case 3:
/* enter standout (highlight) */
+ case 3:
term.c.attr.mode |= ATTR_ITALIC;
break;
case 4:
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 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:
term.c.attr.mode &= ~ATTR_ITALIC;
break;
case 24: