fix: refresh after bulk renaming (#1418)

This commit is contained in:
Lipman 2024-08-16 15:26:16 +08:00
parent 99a3b3a043
commit 575ee5c304

View file

@ -5,7 +5,7 @@ use scopeguard::defer;
use tokio::{fs::{self, OpenOptions}, io::{stdin, AsyncReadExt, AsyncWriteExt}};
use yazi_config::{OPEN, PREVIEW};
use yazi_dds::Pubsub;
use yazi_proxy::{AppProxy, TasksProxy, HIDER, WATCHER};
use yazi_proxy::{AppProxy, ManagerProxy, TasksProxy, HIDER, WATCHER};
use yazi_shared::{fs::{max_common_root, maybe_exists, paths_to_same_file, File, FilesOp, Url}, terminal_clear};
use crate::manager::Manager;
@ -104,6 +104,7 @@ impl Manager {
if !failed.is_empty() {
Self::output_failed(failed).await?;
}
ManagerProxy::refresh();
Ok(())
}