aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-09 09:51:29 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-11-09 09:54:03 +0530
commitda661987aa064ca37dc557b37ff60991684ba514 (patch)
tree523e0ee58251da4105ff93b019da1727f6d09d96 /nnn.c
parente8eeff9b3dd30121e63991e99c844ec4002831e2 (diff)
downloadnnn-da661987aa064ca37dc557b37ff60991684ba514.tar.gz
key 'q' at key prompt quits context
Diffstat (limited to 'nnn.c')
-rw-r--r--nnn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nnn.c b/nnn.c
index 688215d..8e5cabf 100644
--- a/nnn.c
+++ b/nnn.c
@@ -2807,6 +2807,9 @@ nochange:
if (cfg.filtermode)
presel = FILTER;
goto begin;
+ case 'q':
+ presel = 'q';
+ goto nochange;
}
}