mirror of https://github.com/jarun/nnn.git
Clear lastname is the top file is deleted
This commit is contained in:
parent
679374680f
commit
5f18a0892c
|
@ -5279,7 +5279,8 @@ nochange:
|
||||||
if (cur && access(newpath, F_OK) == -1) {
|
if (cur && access(newpath, F_OK) == -1) {
|
||||||
move_cursor(cur - 1, 0);
|
move_cursor(cur - 1, 0);
|
||||||
copycurname();
|
copycurname();
|
||||||
}
|
} else
|
||||||
|
lastname[0] = '\0';
|
||||||
|
|
||||||
if (cfg.filtermode)
|
if (cfg.filtermode)
|
||||||
presel = FILTER;
|
presel = FILTER;
|
||||||
|
|
Loading…
Reference in New Issue