aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-15 01:37:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-09-15 01:37:39 +0530
commita07c5428702175709b5407d31eb47920b56a9822 (patch)
tree814606f8516633476d7a67633125796ea9b56ba2 /src
parente2a95140d5fc34e96e7ec144ac9a834b038778de (diff)
downloadnnn-a07c5428702175709b5407d31eb47920b56a9822.tar.gz
Retain filter after running command
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index d48fc81..a6abad9 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -1740,7 +1740,7 @@ static int filterentries(char *path)
/* If there's a filter, try a command on ^P */
if (cfg.filtercmd && *ch == CONTROL('P') && len > 1) {
spawn(shell, "-c", pln, path, F_CLI | F_CMD);
- *ch = CONTROL('L');
+ continue;
}
if (len == 1)