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
Fixed STR sequence termination condition
ascii code may only be checked for characters that have length equal to 1, not width equal to 1
master
noname
10 years ago
committed by
Roberto E. Vargas Caballero
parent
288f80cb06
commit
69d1fe06a9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
st.c
+ 1
- 1
st.c
View File
@ -2663,7 +2663,7 @@ tputc(char *c, int len) {
*
character
.
*/
if
(
term
.
esc
&
ESC_STR
)
{
if
(
width
=
=
1
&
&
if
(
len
=
=
1
&
&
(
ascii
=
=
'
\a
'
|
|
ascii
=
=
030
|
|
ascii
=
=
032
|
|
ascii
=
=
033
|
|
ISCONTROLC1
(
unicodep
)
)
)
{
Write
Preview
Loading…
Cancel
Save