From 6ba1e48e624541f409f0db891d68f73eabe5d78a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 30 Sep 2019 07:41:34 +0530 Subject: [PATCH] End multi selection mode before link --- src/nnn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nnn.c b/src/nnn.c index c9d07b3c..4a37dcb9 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2050,6 +2050,8 @@ static int xlink(char *suffix, char *path, char *buf, int *presel, int type) return -1; } + endselection(); + if (type == 's') /* symbolic link */ link_fn = &symlink; else /* hard link */