mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Retain filter on keys up and down
This commit is contained in:
parent
7e958d3cd3
commit
450df4c476
1 changed files with 1 additions and 1 deletions
|
@ -2127,7 +2127,7 @@ static int filterentries(char *path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end:
|
end:
|
||||||
if (*ch != '\t')
|
if (*ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN)
|
||||||
g_ctx[cfg.curctx].c_fltr[0] = g_ctx[cfg.curctx].c_fltr[1] = '\0';
|
g_ctx[cfg.curctx].c_fltr[0] = g_ctx[cfg.curctx].c_fltr[1] = '\0';
|
||||||
|
|
||||||
move_cursor(cur, 0);
|
move_cursor(cur, 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue