mirror of
https://github.com/veeso/termscp.git
synced 2026-04-04 01:01:33 -07:00
fix: return after empty terminal prompt
This commit is contained in:
@@ -44,6 +44,7 @@ impl FileTransferActivity {
|
||||
fn action_exec(&mut self, cmd: String) {
|
||||
if cmd.is_empty() {
|
||||
self.print_terminal("".to_string());
|
||||
return;
|
||||
}
|
||||
|
||||
let cmd = match Command::from_str(&cmd) {
|
||||
|
||||
Reference in New Issue
Block a user