aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-16 21:46:15 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-16 21:46:15 +0530
commit37bf6b1010129ba0a25b49e42b78eb5b784d779d (patch)
tree0100609e8e12ea7f33805597390f6eff7cd475aa /src
parent88698b372b65d16a21736c743bfabed32dace273 (diff)
downloadnnn-37bf6b1010129ba0a25b49e42b78eb5b784d779d.tar.gz
Redraw in non-filter mode after hovered file deletion
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 946ffd4..cb4112d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -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