From 6d3fa28bfb668485ae2aec5dddbec98c9e94cbee Mon Sep 17 00:00:00 2001 From: Shupeng Xue Date: Sun, 23 Jun 2024 19:09:25 +1000 Subject: [PATCH] Fix: add hover dds when cd --- yazi-core/src/tab/commands/cd.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/yazi-core/src/tab/commands/cd.rs b/yazi-core/src/tab/commands/cd.rs index dfa148af..1dd85c2a 100644 --- a/yazi-core/src/tab/commands/cd.rs +++ b/yazi-core/src/tab/commands/cd.rs @@ -66,6 +66,7 @@ impl Tab { } Pubsub::pub_from_cd(self.idx, &self.current.cwd); + Pubsub::pub_from_hover(self.idx, self.current.hovered().map(|h| &h.url)); ManagerProxy::refresh(); render!(); }