diff options
| author | Christoph Lohmann <20h@r-36.net> | 2013-02-26 19:08:51 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2013-02-26 19:08:51 +0100 |
| commit | 1c1621da699adae49a4344b145f856dacb57270c (patch) | |
| tree | a1889bbf14151959cd0d14e466bb0b0f27d9a1a1 | |
| parent | 1aa26b4ecd68e6071d36e9103aa9c21711bbf6ea (diff) | |
| download | st-1c1621da699adae49a4344b145f856dacb57270c.tar.gz st-1c1621da699adae49a4344b145f856dacb57270c.zip | |
Changing the way how paste is handled, just for the nano people.
| -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 | } |
