Changing the way how paste is handled, just for the nano people. - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1c1621da699adae49a4344b145f856dacb57270c
 (DIR) parent 1aa26b4ecd68e6071d36e9103aa9c21711bbf6ea
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Tue, 26 Feb 2013 19:08:51 +0100
       
       Changing the way how paste is handled, just for the nano people.
       
       Diffstat:
         M st.c                                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git 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;
                }