From: Arun Prakash Jana Date: Sat, 16 Nov 2019 23:19:50 +0000 (+0530) Subject: Do not reload for help, edit and page if in selection mode X-Git-Tag: v2.8~81 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=61048258a70a2d8796defe3e02a98022d40d6358;p=nnn.git Do not reload for help, edit and page if in selection mode --- diff --git a/src/nnn.c b/src/nnn.c index b84f4e2a..797f5cde 100644 --- 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 */