commit 61048258a70a2d8796defe3e02a98022d40d6358
parent efa9a6727def06a7019ff3b9706d1ba2f21b4591
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 17 Nov 2019 04:49:50 +0530
Do not reload for help, edit and page if in selection mode
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -4606,6 +4606,11 @@ nochange:
break;
}
+ /* Do not reload in some cases if in selection mode */
+ if (cfg.selmode && (sel == SEL_HELP
+ || sel == SEL_RUNEDIT || sel == SEL_RUNPAGE))
+ goto nochange;
+
/* In case of successful operation, reload contents */
/* Continue in navigate-as-you-type mode, if enabled */