mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Clear lastname is the top file is deleted
This commit is contained in:
parent
679374680f
commit
5f18a0892c
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue