mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Restore statusbar after unmounting remote/archive
This commit is contained in:
parent
d5359f0455
commit
8f3785f2e5
|
@ -7259,8 +7259,12 @@ nochange:
|
|||
/* Repopulate as directory content may have changed */
|
||||
goto begin;
|
||||
case SEL_UMOUNT:
|
||||
if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path))
|
||||
presel = MSG_ZERO;
|
||||
if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path)) {
|
||||
if (presel == MSG_ZERO)
|
||||
statusbar(path);
|
||||
goto nochange;
|
||||
}
|
||||
|
||||
/* Dir removed, go to next entry */
|
||||
copynextname(lastname);
|
||||
|
|
Loading…
Reference in a new issue