projects
/
suckless
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa26b4
)
Changing the way how paste is handled, just for the nano people.
author
Christoph Lohmann
<20h@r-36.net>
Tue, 26 Feb 2013 18:08:51 +0000
(19:08 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Tue, 26 Feb 2013 18:08:51 +0000
(19:08 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index 83fdc6d9c8c3b26fba61dd11b837ca99a80d46d6..8b5ba644af423de6932eec728ccf475d63e3761d 100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-796,7
+796,7
@@
selcopy(void) {
}
/* \n at the end of every selected line except for the last one */
if(is_selected && y < sel.e.y)
- *ptr++ = '\
n
';
+ *ptr++ = '\
r
';
}
*ptr = 0;
}