diff options
| author | lukeflo | 2024-10-07 16:44:26 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-12 22:41:38 +0200 |
| commit | e425c7dcdf444de1151ab3f5347e6503cd0452b9 (patch) | |
| tree | 0f153303043db31b40c276d42a5dc823cf8da740 /src/frontend/handler.rs | |
| parent | c9e749f811b16f7ec352d2aa8773105af046fad8 (diff) | |
| download | bibiman-e425c7dcdf444de1151ab3f5347e6503cd0452b9.tar.gz bibiman-e425c7dcdf444de1151ab3f5347e6503cd0452b9.zip | |
working func for opening PDFs, needs refinement (MacOS)
Diffstat (limited to 'src/frontend/handler.rs')
| -rw-r--r-- | src/frontend/handler.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/handler.rs b/src/frontend/handler.rs index a718a87..5bb52d5 100644 --- a/src/frontend/handler.rs +++ b/src/frontend/handler.rs @@ -99,6 +99,9 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App, tui: &mut Tui) -> R KeyCode::Char('e') => { app.run_editor(tui)?; } + KeyCode::Char('o') => { + app.open_connected_file()?; + } KeyCode::Char('/') => { app.enter_search_area(); } |
