mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: refresh after bulk renaming (#1418)
This commit is contained in:
parent
99a3b3a043
commit
575ee5c304
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ use scopeguard::defer;
|
||||||
use tokio::{fs::{self, OpenOptions}, io::{stdin, AsyncReadExt, AsyncWriteExt}};
|
use tokio::{fs::{self, OpenOptions}, io::{stdin, AsyncReadExt, AsyncWriteExt}};
|
||||||
use yazi_config::{OPEN, PREVIEW};
|
use yazi_config::{OPEN, PREVIEW};
|
||||||
use yazi_dds::Pubsub;
|
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 yazi_shared::{fs::{max_common_root, maybe_exists, paths_to_same_file, File, FilesOp, Url}, terminal_clear};
|
||||||
|
|
||||||
use crate::manager::Manager;
|
use crate::manager::Manager;
|
||||||
|
|
@ -104,6 +104,7 @@ impl Manager {
|
||||||
if !failed.is_empty() {
|
if !failed.is_empty() {
|
||||||
Self::output_failed(failed).await?;
|
Self::output_failed(failed).await?;
|
||||||
}
|
}
|
||||||
|
ManagerProxy::refresh();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue