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

View file

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