This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
st
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Add bold off SGR
master
Quentin Rameau
8 years ago
parent
5a10aca702
commit
6cb6d61525
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
st.c
+ 3
- 0
st.c
View File
@ -1402,6 +1402,9 @@ tsetattr(int *attr, int l)
case
9
:
term
.
c
.
attr
.
mode
|
=
ATTR_STRUCK
;
break
;
case
21
:
term
.
c
.
attr
.
mode
&
=
~
ATTR_BOLD
;
break
;
case
22
:
term
.
c
.
attr
.
mode
&
=
~
(
ATTR_BOLD
|
ATTR_FAINT
)
;
break
;
Write
Preview
Loading…
Cancel
Save