aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-02-05 21:45:06 +0000
committerGravatar GitHub <noreply@github.com>2019-02-05 21:45:06 +0000
commit0153e508f54c8acbee87bf10a9c364243c35b44d (patch)
tree872f746946667cb708c8c06c16efb665acda033c /src/nnn.c
parent10da1ac8dd7cffd5652d942359f928c41d3c03b9 (diff)
parent477d5a70eb1b210919cb09908fa81fad0b6d340c (diff)
downloadnnn-0153e508f54c8acbee87bf10a9c364243c35b44d.tar.gz
Merge pull request #204 from breisa/master
Clarify the difference between copy and select
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 23dfb56..cd61b43 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3491,7 +3491,8 @@ nochange:
if (copier)
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
}
- printmsg(newpath);
+ mvprintw(LINES - 1, 0, "selected %s%s\n",
+ (!cfg.copymode&&copier) ? "and copied " : "" , newpath);
goto nochange;
case SEL_COPYMUL:
cfg.copymode ^= 1;
@@ -3541,7 +3542,7 @@ nochange:
dents[r].name, newpath)))
goto nochange;
- mvprintw(LINES - 1, 0, "%d files copied\n",
+ mvprintw(LINES - 1, 0, "%d files selected\n",
copyendid - copystartid + 1);
}
}
@@ -3552,7 +3553,7 @@ nochange:
spawn(copier, NULL, NULL, NULL, F_NOTRACE);
if (ncp) /* Some files cherry picked */
- mvprintw(LINES - 1, 0, "%d files copied\n", ncp);
+ mvprintw(LINES - 1, 0, "%d files selected\n", ncp);
} else
printmsg("selection off");
goto nochange;