This patch makes behaviour consistent with xterm and comments.
diff --git a/st.c b/st.c
index 93058b9..90c102e 100644
--- a/st.c
+++ b/st.c
@@ -790,7 +790,7 @@ selcopy(void) {
}
/* \n at the end of every selected line except for the
last one */
if(is_selected && y < sel.e.y)
- *ptr++ = '\r';
+ *ptr++ = '\n';
}
*ptr = 0;
}
