mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Let ^L exit filter mode and redraw if no last filter
This commit is contained in:
parent
a443a321ef
commit
7f605ab995
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue