Browse Source

Show filter when returning after firing plugin

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

+ 3
- 2
src/nnn.c View File

@@ -2242,7 +2242,8 @@ end:
if (ln[1]) if (ln[1])
ln[REGEX_MAX - 1] = 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'; ln[0] = ln[1] = '\0';
move_cursor(cur, 0); move_cursor(cur, 0);
} else if (ndents) } else if (ndents)
@@ -5439,7 +5440,7 @@ nochange:
} }


if (!r) { if (!r) {
clearprompt();
cfg.filtermode ? presel = FILTER : clearprompt();
goto nochange; goto nochange;
} }




Loading…
Cancel
Save