mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
c1fedcf49a
commit
c83963df11
1 changed files with 5 additions and 3 deletions
|
|
@ -23,6 +23,10 @@ impl Manager {
|
|||
}
|
||||
|
||||
pub fn hover(&mut self, opt: impl Into<Opt>) -> bool {
|
||||
// Hover on the file
|
||||
let opt = opt.into() as Opt;
|
||||
let b = self.current_mut().repos(opt.url);
|
||||
|
||||
// Re-peek
|
||||
self.peek(0);
|
||||
|
||||
|
|
@ -39,8 +43,6 @@ impl Manager {
|
|||
}
|
||||
self.watcher.watch(to_watch);
|
||||
|
||||
// Hover on the file
|
||||
let opt = opt.into() as Opt;
|
||||
self.current_mut().repos(opt.url)
|
||||
b
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue