diff --git a/yazi-core/src/mgr/commands/bulk_rename.rs b/yazi-core/src/mgr/commands/bulk_rename.rs index b8c7ff69..78752660 100644 --- a/yazi-core/src/mgr/commands/bulk_rename.rs +++ b/yazi-core/src/mgr/commands/bulk_rename.rs @@ -52,13 +52,15 @@ impl Mgr { } async fn bulk_rename_do(root: PathBuf, old: Vec, new: Vec) -> Result<()> { - terminal_clear(TTY.writer())?; if old.len() != new.len() { - #[rustfmt::skip] - let s = format!("Number of new and old file names mismatch (New: {}, Old: {}).\nPress to exit...", new.len(), old.len()); - execute!(TTY.writer(), Print(s))?; - - TTY.reader().read_exact(&mut [0])?; + AppProxy::notify_error( + "Bulk rename", + format!( + "Number of new and old file names mismatch (New: {}, Old: {})", + new.len(), + old.len() + ), + ); return Ok(()); }