This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
fixed newline bug.
master
Aurélien Aptel
14 years ago
parent
68d8fcf62a
commit
9e004846de
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
st.c
+ 2
- 1
st.c
View File
@ -627,12 +627,13 @@ tscrollup(int orig, int n) {
void
tnewline
(
void
)
{
int
x
=
term
.
c
.
x
+
1
<
term
.
col
?
term
.
c
.
x
:
0
;
int
y
=
term
.
c
.
y
;
if
(
term
.
c
.
y
=
=
term
.
bot
)
tscrollup
(
term
.
top
,
1
)
;
else
y
+
+
;
tmoveto
(
0
,
y
)
;
tmoveto
(
x
,
y
)
;
}
void
Write
Preview
Loading…
Cancel
Save