diff options
| author | lukeflo | 2024-10-08 22:48:53 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-12 22:41:38 +0200 |
| commit | 2aaee4d89f7d8ee683a0d50f21723d908dec3e46 (patch) | |
| tree | 973beeb3d1ff543971b7bca1aa22df361354cc25 /src/frontend/handler.rs | |
| parent | e425c7dcdf444de1151ab3f5347e6503cd0452b9 (diff) | |
| download | bibiman-2aaee4d89f7d8ee683a0d50f21723d908dec3e46.tar.gz bibiman-2aaee4d89f7d8ee683a0d50f21723d908dec3e46.zip | |
open URLs, DOIs and PDFs
+ Implement opening mechanism for URLs, DOIs and PDFs
+ Adding logic to reset selected item after editing to same entry as
before
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 5bb52d5..9a27b3a 100644 --- a/src/frontend/handler.rs +++ b/src/frontend/handler.rs @@ -102,6 +102,9 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App, tui: &mut Tui) -> R KeyCode::Char('o') => { app.open_connected_file()?; } + KeyCode::Char('u') => { + app.open_doi_url()?; + } KeyCode::Char('/') => { app.enter_search_area(); } |
