st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 1c1621da699adae49a4344b145f856dacb57270c
parent 1aa26b4ecd68e6071d36e9103aa9c21711bbf6ea
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue, 26 Feb 2013 19:08:51 +0100

Changing the way how paste is handled, just for the nano people.

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
     }