diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -796,7 +796,7 @@ selcopy(void) { | |||
| 796 | } | 796 | } |
| 797 | /* \n at the end of every selected line except for the last one */ | 797 | /* \n at the end of every selected line except for the last one */ |
| 798 | if(is_selected && y < sel.e.y) | 798 | if(is_selected && y < sel.e.y) |
| 799 | *ptr++ = '\n'; | 799 | *ptr++ = '\r'; |
| 800 | } | 800 | } |
| 801 | *ptr = 0; | 801 | *ptr = 0; |
| 802 | } | 802 | } |
