A shorter overwrite message (key is not echoed)

This commit is contained in:
Arun Prakash Jana 2017-08-26 09:37:04 +05:30
parent 6b6182a61a
commit ac03793547
No known key found for this signature in database
GPG key ID: A75979F35C080412

2
nnn.c
View file

@ -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();