mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 05:51:20 -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) {
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user