From 995b0671e7e41a51ac76fc1521679237ea41573b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 12 Nov 2018 23:37:32 +0530 Subject: [PATCH] Press 'Enter' to confirm multiple context quit --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 9b446dd2..252781f7 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3338,11 +3338,11 @@ nochange: case SEL_QUIT: for (r = 0; r < MAX_CTX; ++r) if (r != cfg.curctx && g_ctx[r].c_cfg.ctxactive) { - r = get_input("press 'y' to quit all contexts"); + r = get_input("Quit all contexts? ('Enter' confirms)"); break; } - if (!(r == MAX_CTX || r == 'y')) + if (!(r == MAX_CTX || r == 13)) break; if (sel == SEL_CDQUIT) {