aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 1511d46..cdbb02b 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4110,6 +4110,7 @@ nochange:
writecp(newpath, r - 1); /* Truncate NULL from end */
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
+ nselected = 1;
dents[cur].flags |= FILE_SELECTED;
}
break;