]> Sergey Matveev's repositories - nnn.git/commitdiff
A shorter overwrite message (key is not echoed)
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 26 Aug 2017 04:07:04 +0000 (09:37 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 26 Aug 2017 04:07:04 +0000 (09:37 +0530)
nnn.c

diff --git a/nnn.c b/nnn.c
index c7f4375c5c3631c1dd82d255ec5a62120054ecc9..b554f2bfe584a3c7931bdb4a0cdfa1fa8a18875c 100644 (file)
--- a/nnn.c
+++ b/nnn.c
@@ -2606,7 +2606,7 @@ nochange:
                        /* Check if another file with same name exists */
                        if (faccessat(fd, tmp, F_OK, AT_SYMLINK_NOFOLLOW) != -1) {
                                /* File with the same name exists */
-                               printprompt("Press 'y' to overwrite");
+                               printprompt("Press 'y' to overwrite");
                                cleartimeout();
                                r = getch();
                                settimeout();