diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-14 22:44:49 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-02-14 22:44:49 +0530 |
commit | 6024c518399c9f67e133a5bc7f2e2381c08fd08c (patch) | |
tree | 2a467ccd15ff6e2e735751ce22048be7b0d3192c /src | |
parent | b0ba19755572b69e3cc6d51d3f2916e96e532f18 (diff) | |
download | nnn-6024c518399c9f67e133a5bc7f2e2381c08fd08c.tar.gz |
Remember file name when refresh is not requested
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5870,13 +5870,13 @@ nochange: goto nochange; } + if (ndents) + copycurname(); + if (!r) { cfg.filtermode ? presel = FILTER : statusbar(path); goto nochange; } - - if (ndents) - copycurname(); } else { /* 'Return/Enter' enters the plugin directory */ cfg.runplugin ^= 1; if (!cfg.runplugin && rundir[0]) { |