commit b340ecc257ec630c589d5e4f5a272c36903eb746
parent 17de5bfc272243e5797715da3a2306a71c70fc88
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 29 Sep 2019 23:06:27 +0530
Do not clear buffer on selection end
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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;
}
}