mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Do not reload for help, edit and page if in selection mode
This commit is contained in:
parent
efa9a6727d
commit
61048258a7
|
@ -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…
Reference in a new issue