Open files with middle click

* Directories open in new tab
* All others open the file
This commit is contained in:
Jason Rodney Hansen 2024-06-29 19:35:27 -06:00 committed by Jeremy Soller
parent 36bcf81bc6
commit 0971f6f20f
3 changed files with 40 additions and 1 deletions

View file

@ -638,6 +638,9 @@ impl Application for App {
commands.push(self.update(Message::Open));
}
}
tab::Command::OpenInNewTab(_path) => {
log::warn!("OpenInNewTab not supported in dialog");
}
tab::Command::Scroll(id, offset) => {
commands.push(scrollable::scroll_to(id, offset));
}