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
Ignore NUL character as a padding character. Telnet may use this. Patch of
Roberto Vargas.
master
Christoph Lohmann
12 years ago
parent
776a022e39
commit
b156352656
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
st.c
+ 2
- 0
st.c
View File
@ -1723,6 +1723,8 @@ tputc(char *c) {
if
(
sel
.
bx
!
=
-
1
&
&
BETWEEN
(
term
.
c
.
y
,
sel
.
by
,
sel
.
ey
)
)
if
(
sel
.
bx
!
=
-
1
&
&
BETWEEN
(
term
.
c
.
y
,
sel
.
by
,
sel
.
ey
)
)
sel
.
bx
=
-
1
;
sel
.
bx
=
-
1
;
switch
(
ascii
)
{
switch
(
ascii
)
{
case
'
\0
'
:
/* padding character, do nothing */
break
;
case
'
\t
'
:
case
'
\t
'
:
tputtab
(
1
)
;
tputtab
(
1
)
;
break
;
break
;
Write
Preview
Loading…
Cancel
Save