diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-02-05 21:45:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 21:45:06 +0000 |
commit | 0153e508f54c8acbee87bf10a9c364243c35b44d (patch) | |
tree | 872f746946667cb708c8c06c16efb665acda033c /src/nnn.c | |
parent | 10da1ac8dd7cffd5652d942359f928c41d3c03b9 (diff) | |
parent | 477d5a70eb1b210919cb09908fa81fad0b6d340c (diff) | |
download | nnn-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.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |