fix: return after empty terminal prompt

This commit is contained in:
Christian Visintin
2026-04-19 01:54:46 +05:30
parent 18314e6a2e
commit 9cfef867a9
@@ -44,6 +44,7 @@ impl FileTransferActivity {
fn action_exec(&mut self, cmd: String) { fn action_exec(&mut self, cmd: String) {
if cmd.is_empty() { if cmd.is_empty() {
self.print_terminal("".to_string()); self.print_terminal("".to_string());
return;
} }
let cmd = match Command::from_str(&cmd) { let cmd = match Command::from_str(&cmd) {