Retain filter on keys up and down

This commit is contained in:
Arun Prakash Jana 2019-12-26 10:11:05 +05:30
parent 7e958d3cd3
commit 450df4c476
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -2127,7 +2127,7 @@ static int filterentries(char *path)
}
}
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';
move_cursor(cur, 0);