diff --git a/src/put/mod.rs b/src/put/mod.rs index 79b4525..aa18ce6 100644 --- a/src/put/mod.rs +++ b/src/put/mod.rs @@ -278,6 +278,10 @@ fn sftp_transfer( }; let remote = format!("{incoming}/{name}"); let label = format!("Uploading {name}"); + // Named before each file, not only in the progress label: when the + // view was released for a prompt, the progress bar is gone and this + // plain line is the only narration of which file is flowing + view.message(&label); let on_progress = |uploaded: u64| view.progress(&label, uploaded as usize, size as usize); let result = ssh::upload_file(&sftp, path, &remote, host, &on_progress); if let Err(e) = result {