From: Arun Prakash Jana Date: Sun, 29 Sep 2019 17:36:27 +0000 (+0530) Subject: Do not clear buffer on selection end X-Git-Tag: v2.7~41 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b340ecc257ec630c589d5e4f5a272c36903eb746;p=nnn.git Do not clear buffer on selection end --- diff --git a/src/nnn.c b/src/nnn.c index d1289f45..c484e578 100644 --- 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; } }