Browse Source

Do not reload for help, edit and page if in selection mode

master
Arun Prakash Jana 5 years ago
parent
commit
61048258a7
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/nnn.c

+ 5
- 0
src/nnn.c View File

@@ -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 */


Loading…
Cancel
Save