From 477d5a70eb1b210919cb09908fa81fad0b6d340c Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 5 Feb 2019 22:13:05 +0100 Subject: Clarify the difference between copy and select. --- src/nnn.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/nnn.c') diff --git a/src/nnn.c b/src/nnn.c index 7f6547d..21c2020 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3493,7 +3493,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; @@ -3543,7 +3544,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); } } @@ -3554,7 +3555,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; -- cgit v1.2.3-70-g09d2