mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
fa1a5377fd
commit
92ed5c7efc
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ use crate::{manager::Manager, tasks::Tasks};
|
|||
|
||||
impl Manager {
|
||||
pub fn refresh(&mut self, _: CmdCow, tasks: &Tasks) {
|
||||
CWD.set(self.cwd());
|
||||
if !MANAGER.title_format.is_empty() {
|
||||
if CWD.set(self.cwd()) && !MANAGER.title_format.is_empty() {
|
||||
execute!(std::io::stderr(), SetTitle(self.title())).ok();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue