diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nnn.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2143,6 +2143,9 @@ static int filterentries(char *path, char *lastname) ln[1] = ln[REGEX_MAX - 1]; ln[REGEX_MAX - 1] = '\0'; len = mbstowcs(wln, ln, REGEX_MAX); + /* Go to the top, we don't know if the + hovered file will match the filter */ + cur = 0; if (matches(pln) != -1) redraw(path); |