From b7b765c16e792906205c2778731d7c2313405d8b Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 23 Aug 2021 14:56:27 +0200 Subject: [PATCH 1/2] Fixed: When copying files with tricky copy, the upper progress bar shows no text --- src/ui/activities/filetransfer/actions/copy.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/activities/filetransfer/actions/copy.rs b/src/ui/activities/filetransfer/actions/copy.rs index 1d28fe1..3970603 100644 --- a/src/ui/activities/filetransfer/actions/copy.rs +++ b/src/ui/activities/filetransfer/actions/copy.rs @@ -144,6 +144,8 @@ impl FileTransferActivity { /// /// Tricky copy will be used whenever copy command is not available on remote host fn tricky_copy(&mut self, entry: FsEntry, dest: &Path) { + // NOTE: VERY IMPORTANT; wait block must be umounted or something really bad will happen + self.umount_wait(); // match entry match entry { FsEntry::File(entry) => { From a189a4c7547657d6912f2e890554ab5f495318c7 Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 23 Aug 2021 14:59:47 +0200 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716e519..3b50fa4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Released on ?? - Added new `Directory already exists` variant for file transfer errors - Bugfix: - Fixed [Issue 58](https://github.com/veeso/termscp/issues/58):When uploading a directory, create directory only if it doesn't exist + - Fixed [Issue 59](https://github.com/veeso/termscp/issues/59): When copying files with tricky copy, the upper progress bar shows no text - Dependencies: - Updated `bitflags` to `1.3.2` - Updated `bytesize` to `1.1.0`