From 37bf6b1010129ba0a25b49e42b78eb5b784d779d Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 16 Nov 2019 21:46:15 +0530 Subject: Redraw in non-filter mode after hovered file deletion --- src/nnn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2