mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Update dir after upload/download
This commit is contained in:
@@ -413,6 +413,10 @@ impl FileTransferActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Scan dir on remote
|
||||||
|
if let Ok(path) = self.client.pwd() {
|
||||||
|
self.remote_scan(path.as_path());
|
||||||
|
}
|
||||||
// Eventually, Reset input mode to explorer
|
// Eventually, Reset input mode to explorer
|
||||||
self.input_mode = InputMode::Explorer;
|
self.input_mode = InputMode::Explorer;
|
||||||
}
|
}
|
||||||
@@ -543,6 +547,8 @@ impl FileTransferActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Reload directory on local
|
||||||
|
self.local_scan(local_path);
|
||||||
// Eventually, Reset input mode to explorer
|
// Eventually, Reset input mode to explorer
|
||||||
self.input_mode = InputMode::Explorer;
|
self.input_mode = InputMode::Explorer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user