From: Christoph Lohmann <20h@r-36.net> Date: Tue, 26 Feb 2013 18:08:51 +0000 (+0100) Subject: Changing the way how paste is handled, just for the nano people. X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=commitdiff_plain;h=1c1621da699adae49a4344b145f856dacb57270c Changing the way how paste is handled, just for the nano people. --- diff --git a/st.c b/st.c index 83fdc6d..8b5ba64 100644 --- 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; }