diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-16 21:46:15 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-16 21:46:15 +0530 |
commit | 37bf6b1010129ba0a25b49e42b78eb5b784d779d (patch) | |
tree | 0100609e8e12ea7f33805597390f6eff7cd475aa | |
parent | 88698b372b65d16a21736c743bfabed32dace273 (diff) | |
download | nnn-37bf6b1010129ba0a25b49e42b78eb5b784d779d.tar.gz |
Redraw in non-filter mode after hovered file deletion
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/nnn.c | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -69,7 +69,7 @@ Add to that an awesome [Wiki](https://github.com/jarun/nnn/wiki)! 1. Install the [utilities you may need](https://github.com/jarun/nnn#utility-dependencies) based on your regular workflows. 2. Configure [cd on quit](https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit). -3. Optionally open all text files in `$EDITOR` (fallback vi): `export NNN_USE_EDITOR=1` +3. Optionally open all text files in `$EDITOR` (fallback vi): `export NNN_USE_EDITOR=1`. 4. For additional functionality [install plugins](https://github.com/jarun/nnn/tree/master/plugins#installing-plugins) and the GUI app launcher [`nlaunch`](https://github.com/jarun/nnn/tree/master/misc/nlaunch). Notes: @@ -4741,14 +4741,12 @@ nochange: xrm(newpath); /* Don't optimize cur if filtering is on */ - if (!cfg.filtermode && cur && access(newpath, F_OK) == -1) + if (cur && access(newpath, F_OK) == -1) move_cursor(cur - 1, 0); /* We reduce cur only if it is > 0, so it's at least 0 */ copycurname(); - if (cfg.filtermode) - presel = FILTER; goto begin; } case SEL_ARCHIVE: // fallthrough |