X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=8b5ba644af423de6932eec728ccf475d63e3761d;hp=83fdc6d9c8c3b26fba61dd11b837ca99a80d46d6;hb=1c1621da699adae49a4344b145f856dacb57270c;hpb=1aa26b4ecd68e6071d36e9103aa9c21711bbf6ea 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; }