commit fa7c19c4097bfb71eef16060724c5bd8da424a9e
parent 7477bd15bb5106281c27aa5449884368bc3d97af
Author: Terminator X <engineerarun@gmail.com>
Date: Thu, 30 Sep 2021 19:50:40 +0530
Merge pull request #1183 from N-R-K/disable_e
Disable e on picker mode
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -7206,7 +7206,8 @@ nochange:
copycurname();
goto nochange;
case SEL_EDIT:
- spawn(editor, newpath, NULL, NULL, F_CLI);
+ if (!g_state.picker)
+ spawn(editor, newpath, NULL, NULL, F_CLI);
continue;
default: /* SEL_LOCK */
lock_terminal();