aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorlukeflo-work2024-10-10 15:12:31 +0200
committerlukeflo2024-10-12 22:41:38 +0200
commit1ad9a97e9a25622a9946cb9c55705922c42d9149 (patch)
tree363a30504d6a44f09aeb1023d7aefc280b3f0365 /src/main.rs
parentd52b16993285f6fd98d7241689e1bd950739bb88 (diff)
downloadbibiman-1ad9a97e9a25622a9946cb9c55705922c42d9149.tar.gz
bibiman-1ad9a97e9a25622a9946cb9c55705922c42d9149.zip
scrollbar for keyword and entry area
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
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)?;