mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix
This commit is contained in:
parent
9055ee7d22
commit
993741f050
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ impl Tab {
|
||||||
let mut s = OsString::new();
|
let mut s = OsString::new();
|
||||||
let mut it = self.selected_or_hovered().peekable();
|
let mut it = self.selected_or_hovered().peekable();
|
||||||
if opt.hovered {
|
if opt.hovered {
|
||||||
if let Some(hovered) = self.hovered() {
|
if let Some(h) = self.hovered() {
|
||||||
it = Box::new(hovered.map(|h| vec![&h.url]).into_iter());
|
it = Box::new([&h.url, &h.url].into_iter());
|
||||||
} else { return };
|
} else { return };
|
||||||
}
|
}
|
||||||
while let Some(u) = it.next() {
|
while let Some(u) = it.next() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue