diff options
author | 2019-12-01 19:58:08 +0530 | |
---|---|---|
committer | 2019-12-01 19:58:08 +0530 | |
commit | feb1d2fc272f044a370eb79d29c03b543938ffa1 (patch) | |
tree | e6f7ee4da9008057cf7f1c08c433ae7894c12667 | |
parent | 130cea3598de0158bdf3cf2428e269e04880594b (diff) | |
download | nnn-feb1d2fc272f044a370eb79d29c03b543938ffa1.tar.gz |
Handle some keys as special only if filter is empty
-rw-r--r-- | src/nnn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2085,12 +2085,12 @@ static int filterentries(char *path) switch (*ch) { case '/': /* works as Leader key in filter mode */ *ch = CONTROL('_'); // fallthrough - case ':': - case ';': if (len == 1) cur = oldcur; goto end; - case '?': /* '?' is an invalid regex, show help instead */ + case ':': // fallthrough /* Run plugin keys */ + case ';': // fallthrough + case '?': /* Help and config key, '?' is an invalid regex */ if (len == 1) { cur = oldcur; goto end; |