aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index c9d07b3..4a37dcb 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 */