Let ^L exit filter mode and redraw if no last filter

This commit is contained in:
Arun Prakash Jana 2020-11-19 23:30:32 +05:30
parent a443a321ef
commit 7f605ab995
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 1 deletions

View File

@ -2843,7 +2843,8 @@ static int filterentries(char *path, char *lastname)
ln[1] = ln[REGEX_MAX - 1];
ln[REGEX_MAX - 1] = '\0';
len = mbstowcs(wln, ln, REGEX_MAX);
}
} else
goto end;
}
/* Go to the top, we don't know if the hovered file will match the filter */