mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01: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 */
|
/* Repopulate as directory content may have changed */
|
||||||
goto begin;
|
goto begin;
|
||||||
case SEL_UMOUNT:
|
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;
|
goto nochange;
|
||||||
|
}
|
||||||
|
|
||||||
/* Dir removed, go to next entry */
|
/* Dir removed, go to next entry */
|
||||||
copynextname(lastname);
|
copynextname(lastname);
|
||||||
|
|
Loading…
Reference in a new issue