mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix #1117: Revert "Ignore filter key if no results"
This reverts commit 3ef50f06f8
.
This commit is contained in:
parent
23a806864f
commit
b54f771a44
|
@ -3367,9 +3367,9 @@ static int filterentries(char *path, char *lastname)
|
|||
* - new matches can only be a subset of current matches.
|
||||
*/
|
||||
/* ndents = total; */
|
||||
r = matches(pln);
|
||||
if (r <= 0) {
|
||||
!r ? unget_wch(KEY_BACKSPACE) : showfilter(ln);
|
||||
|
||||
if (matches(pln) == -1) {
|
||||
showfilter(ln);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue