diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-11 22:53:40 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-11 22:53:40 +0530 |
commit | fd99ef5af278efe828ea39c79225e756e4840fec (patch) | |
tree | 53215de62c05b740bb9cb914dd7f8a30da535430 /src/nnn.c | |
parent | 357ce4a69a853973b641ec7324ca932df6b77adb (diff) | |
download | nnn-fd99ef5af278efe828ea39c79225e756e4840fec.tar.gz |
Show filter when returning after firing plugin
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2242,7 +2242,8 @@ end: if (ln[1]) ln[REGEX_MAX - 1] = ln[1]; - if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN && *ch != CONTROL('T')) { + if (*ch != 27 && *ch != '\t' && *ch != KEY_UP && *ch != KEY_DOWN + && *ch != CONTROL('T') && *ch != CONTROL('F')) { ln[0] = ln[1] = '\0'; move_cursor(cur, 0); } else if (ndents) @@ -5439,7 +5440,7 @@ nochange: } if (!r) { - clearprompt(); + cfg.filtermode ? presel = FILTER : clearprompt(); goto nochange; } |