diff options
| author | lukeflo-work | 2024-10-10 15:12:31 +0200 |
|---|---|---|
| committer | lukeflo | 2024-10-12 22:41:38 +0200 |
| commit | 1ad9a97e9a25622a9946cb9c55705922c42d9149 (patch) | |
| tree | 363a30504d6a44f09aeb1023d7aefc280b3f0365 /src/main.rs | |
| parent | d52b16993285f6fd98d7241689e1bd950739bb88 (diff) | |
| download | bibiman-1ad9a97e9a25622a9946cb9c55705922c42d9149.tar.gz bibiman-1ad9a97e9a25622a9946cb9c55705922c42d9149.zip | |
scrollbar for keyword and entry area
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 74e1252..6ef7ee1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,13 +15,14 @@ // along with this program. If not, see <https://www.gnu.org/licenses/>. ///// -use core::panic; - use backend::cliargs::{self, CLIArgs}; use color_eyre::eyre::Result; +use core::panic; +use errorsetup::init_error_hooks; use frontend::app::App; pub mod backend; +pub mod errorsetup; pub mod frontend; #[tokio::main] @@ -45,6 +46,8 @@ async fn main() -> Result<()> { panic!("No \'.bib\' file passed, aborting") } + init_error_hooks()?; + // Create an application. let mut app = App::new(parsed_args)?; |
