Browse Source

Retain filter on keys up and down

master
Arun Prakash Jana 5 years ago
parent
commit
450df4c476
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c 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);


Loading…
Cancel
Save