From b340ecc257ec630c589d5e4f5a272c36903eb746 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 29 Sep 2019 23:06:27 +0530 Subject: [PATCH] Do not clear buffer on selection end --- src/nnn.c | 1 - 1 file changed, 1 deletion(-) 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; } }