From d776f5afad7cf0bd3f3a216c89469e168d8b2aa5 Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Sun, 15 Mar 2026 12:43:41 +0000 Subject: [PATCH] Prevent mcedit from hanging on macro Signed-off-by: Jiri Tyr --- src/subshell/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subshell/common.c b/src/subshell/common.c index 8aab520450..ed7dd93291 100644 --- a/src/subshell/common.c +++ b/src/subshell/common.c @@ -1901,7 +1901,7 @@ invoke_subshell (const char *command, int how, vfs_path_t **new_dir_vpath) // some sort of error. if (use_persistent_buffer) clear_cwd_pipe (); - else + else if (mc_global.mc_run_mode == MC_RUN_FULL) { /* We don't need to call feed_subshell here if we are using fish, because of a * quirk in the behavior of that particular shell. */