mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Remember file name when refresh is not requested
This commit is contained in:
parent
b0ba197555
commit
6024c51839
1 changed files with 3 additions and 3 deletions
|
@ -5870,13 +5870,13 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ndents)
|
||||||
|
copycurname();
|
||||||
|
|
||||||
if (!r) {
|
if (!r) {
|
||||||
cfg.filtermode ? presel = FILTER : statusbar(path);
|
cfg.filtermode ? presel = FILTER : statusbar(path);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ndents)
|
|
||||||
copycurname();
|
|
||||||
} else { /* 'Return/Enter' enters the plugin directory */
|
} else { /* 'Return/Enter' enters the plugin directory */
|
||||||
cfg.runplugin ^= 1;
|
cfg.runplugin ^= 1;
|
||||||
if (!cfg.runplugin && rundir[0]) {
|
if (!cfg.runplugin && rundir[0]) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue