From e8b208f2b484bc15602f2530e8a73f058572b097 Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Sun, 22 Sep 2024 23:54:06 +0530 Subject: [PATCH] Fix cd multi-selection (#626) --- tui/src/running_command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tui/src/running_command.rs b/tui/src/running_command.rs index bc41d7c74..e1d4b0a01 100644 --- a/tui/src/running_command.rs +++ b/tui/src/running_command.rs @@ -161,6 +161,7 @@ impl RunningCommand { script.push(' '); script.push_str(&arg); } + script.push('\n'); // Ensures that each command is properly separated for execution preventing directory errors } Command::None => panic!("Command::None was treated as a command"), }