From adf9f18664151073f098f6cdb60627d32637a6d0 Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Fri, 2 May 2025 13:48:32 +0800 Subject: [PATCH] fix --- yazi-core/src/tab/commands/copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-core/src/tab/commands/copy.rs b/yazi-core/src/tab/commands/copy.rs index 196461a9..6024801e 100644 --- a/yazi-core/src/tab/commands/copy.rs +++ b/yazi-core/src/tab/commands/copy.rs @@ -31,7 +31,7 @@ impl Tab { let mut s = OsString::new(); let mut it = self.selected_or_hovered().peekable(); if opt.hovered { - if let Some(hovered) = self.hovered { + if let Some(hovered) = self.hovered() { it = once(hovered).peekable(); } else { return }; }