Browse Source

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

Christoph Lohmann 12 years ago
parent
commit
1c1621da69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      st.c

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