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
do not add newline to selection text if next line not selected (Nick)
master
pancake@nopcode.org
13 years ago
parent
fe72483686
commit
a047431d34
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
st.c
+ 2
- 2
st.c
View File
@ -420,8 +420,8 @@ selcopy(void) {
memcpy
(
ptr
,
term
.
line
[
y
]
[
x
]
.
c
,
sl
)
;
memcpy
(
ptr
,
term
.
line
[
y
]
[
x
]
.
c
,
sl
)
;
ptr
+
=
sl
;
ptr
+
=
sl
;
}
}
if
(
ls
)
*
ptr
=
'
\n
'
,
ptr
+
+
;
if
(
ls
&
&
y
<
sel
.
e
.
y
)
*
ptr
+
+
=
'
\n
'
;
}
}
*
ptr
=
0
;
*
ptr
=
0
;
}
}
Write
Preview
Loading…
Cancel
Save