From 7a88621b926e2459c25417936c9566ffb7f6f3b9 Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Fri, 2 May 2025 13:59:52 +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 f1d43cb6..068757fc 100644 --- a/yazi-core/src/tab/commands/copy.rs +++ b/yazi-core/src/tab/commands/copy.rs @@ -32,7 +32,7 @@ impl Tab { let mut it = self.selected_or_hovered().peekable(); if opt.hovered { if let Some(h) = self.hovered() { - it = Box::new([&h.url, &h.url].into_iter()); + it = Box::new([&h.url, &h.url].into_iter()).peekable(); } else { return }; } while let Some(u) = it.next() {