mirror of
https://github.com/jarun/nnn.git
synced 2025-03-31 18:46:33 +00:00
Let ^L exit filter mode and redraw if no last filter
This commit is contained in:
parent
a443a321ef
commit
7f605ab995
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue