]> Sergey Matveev's repositories - nnn.git/commitdiff
Do not clear buffer on selection end
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 29 Sep 2019 17:36:27 +0000 (23:06 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 29 Sep 2019 17:36:27 +0000 (23:06 +0530)
src/nnn.c

index d1289f45bb055f4a6cb53bf5c95fcff7009abe53..c484e578306bb931ef5ae2b4ed291bb759cf2e8a 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -898,7 +898,6 @@ static void endselection(void)
        if (selbufpos) { /* File path(s) written to the buffer */
                writesel(pselbuf, selbufpos - 1); /* Truncate NULL from end */
                spawn(copier, NULL, NULL, NULL, F_NOTRACE);
-               selbufpos = 0;
        }
 }