From 1c1621da699adae49a4344b145f856dacb57270c Mon Sep 17 00:00:00 2001
From: Christoph Lohmann <20h@r-36.net>
Date: Tue, 26 Feb 2013 19:08:51 +0100
Subject: [PATCH] Changing the way how paste is handled, just for the nano
 people.

---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}