tChanging the way how paste is handled, just for the nano people. - st - [fork]… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1c1621da699adae49a4344b145f856dacb57270c | |
parent 1aa26b4ecd68e6071d36e9103aa9c21711bbf6ea | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 26 Feb 2013 19:08:51 +0100 | |
Changing the way how paste is handled, just for the nano people. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -796,7 +796,7 @@ selcopy(void) { | |
} | |
/* \n at the end of every selected line except for the… | |
if(is_selected && y < sel.e.y) | |
- *ptr++ = '\n'; | |
+ *ptr++ = '\r'; | |
} | |
*ptr = 0; | |
} |