mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
This commit is contained in:
committed by
GitHub
parent
9dab34e7ee
commit
5a67fc7b0e
@@ -1,6 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
- [Changelog](#changelog)
|
||||
- [0.12.0](#0120)
|
||||
- [0.11.3](#0113)
|
||||
- [0.11.2](#0112)
|
||||
- [0.11.1](#0111)
|
||||
@@ -30,6 +31,13 @@
|
||||
|
||||
---
|
||||
|
||||
## 0.12.0
|
||||
|
||||
Released on ??
|
||||
|
||||
- [Issue 153](https://github.com/veeso/termscp/issues/153): show a loading message when loading directory's content
|
||||
- [Issue 176](https://github.com/veeso/termscp/issues/176): debug log is now written to CACHE_DIR
|
||||
|
||||
## 0.11.3
|
||||
|
||||
Released on 19/04/2023
|
||||
|
||||
@@ -112,17 +112,25 @@ impl FileTransferActivity {
|
||||
pub(super) fn reload_remote_dir(&mut self) {
|
||||
// Get current entries
|
||||
if let Ok(wrkdir) = self.client.pwd() {
|
||||
self.mount_blocking_wait("Loading remote directory...");
|
||||
|
||||
self.remote_scan(wrkdir.as_path());
|
||||
// Set wrkdir
|
||||
self.remote_mut().wrkdir = wrkdir;
|
||||
|
||||
self.umount_wait();
|
||||
}
|
||||
}
|
||||
|
||||
/// Reload local directory entries and update browser
|
||||
pub(super) fn reload_local_dir(&mut self) {
|
||||
self.mount_blocking_wait("Loading local directory...");
|
||||
|
||||
let wrkdir: PathBuf = self.host.pwd();
|
||||
self.local_scan(wrkdir.as_path());
|
||||
self.local_mut().wrkdir = wrkdir;
|
||||
|
||||
self.umount_wait();
|
||||
}
|
||||
|
||||
/// Scan current local directory
|
||||
|
||||
Reference in New Issue
Block a user