diff options
author | 2019-11-17 04:49:50 +0530 | |
---|---|---|
committer | 2019-11-17 04:49:50 +0530 | |
commit | 61048258a70a2d8796defe3e02a98022d40d6358 (patch) | |
tree | 39a0451fdba53ba05ea5288aee429b0e54744802 /src | |
parent | efa9a6727def06a7019ff3b9706d1ba2f21b4591 (diff) | |
download | nnn-61048258a70a2d8796defe3e02a98022d40d6358.tar.gz |
Do not reload for help, edit and page if in selection mode
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |