Skip to content

Commit f4bdd7d

Browse files
Single command execution bug fix
1 parent 8067b80 commit f4bdd7d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/state.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,10 @@ impl AppState {
401401
if let Some(cmd) = self.get_selected_command() {
402402
if self.selected_commands.is_empty() {
403403
self.selected_commands.push(cmd);
404-
} else {
405-
let command = RunningCommand::new(self.selected_commands.clone());
406-
self.spawn_float(command, 80, 80);
407-
self.selected_commands.clear();
408404
}
405+
let command = RunningCommand::new(self.selected_commands.clone());
406+
self.spawn_float(command, 80, 80);
407+
self.selected_commands.clear();
409408
} else {
410409
self.go_to_selected_dir();
411410
}

0 commit comments

Comments
 (0)