]> Sergey Matveev's repositories - nnn.git/commitdiff
Do not end selection mode before prompt/shell
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 8 Aug 2021 14:45:20 +0000 (20:15 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 8 Aug 2021 14:45:20 +0000 (20:15 +0530)
src/nnn.c

index 6c5327b27491978deadd9c0cefd228421fe41a12..5de071338eaa2899d13301f743bd18cc335e40e2 100644 (file)
--- 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);