From 49ee5b21e76ba13515f98af9ac280cc3c5f141de Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 8 Aug 2021 20:15:20 +0530 Subject: [PATCH] Do not end selection mode before prompt/shell --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 6c5327b2..5de07133 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5257,7 +5257,7 @@ static bool prompt_run(const char *current) static bool handle_cmd(enum action sel, const char *current, char *newpath) { - endselection(TRUE); + endselection(FALSE); if (sel == SEL_PROMPT) return prompt_run(current);