mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
A shorter overwrite message (key is not echoed)
This commit is contained in:
parent
6b6182a61a
commit
ac03793547
2
nnn.c
2
nnn.c
|
@ -2606,7 +2606,7 @@ nochange:
|
||||||
/* Check if another file with same name exists */
|
/* Check if another file with same name exists */
|
||||||
if (faccessat(fd, tmp, F_OK, AT_SYMLINK_NOFOLLOW) != -1) {
|
if (faccessat(fd, tmp, F_OK, AT_SYMLINK_NOFOLLOW) != -1) {
|
||||||
/* File with the same name exists */
|
/* File with the same name exists */
|
||||||
printprompt("Press 'y' to overwrite: ");
|
printprompt("Press 'y' to overwrite");
|
||||||
cleartimeout();
|
cleartimeout();
|
||||||
r = getch();
|
r = getch();
|
||||||
settimeout();
|
settimeout();
|
||||||
|
|
Loading…
Reference in a new issue