]> Sergey Matveev's repositories - nnn.git/commitdiff
Show copymode on/off
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 28 Jan 2018 07:14:29 +0000 (12:44 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 28 Jan 2018 07:14:29 +0000 (12:44 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index 15c35aeb2c6ecd362d1d6ef0a596105f4f56ca12..9686fe9ebc38cf2e387d6ac5b805a4b1de0d29fc 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -2874,6 +2874,7 @@ nochange:
                                g_crc = crc8fast((uchar *)dents, ndents * sizeof(struct entry));
                                copystartid = cur;
                                copybufpos = 0;
+                               printmsg("copymode on");
                                DPRINTF_S("copymode on");
                        } else {
                                static size_t len;
@@ -2905,7 +2906,8 @@ nochange:
                                        DPRINTF_S(pcopybuf);
                                        if (!len)
                                                printmsg("files copied");
-                               }
+                               } else
+                                       printmsg("copymode off");
                        }
                        goto nochange;
                case SEL_QUOTE: