Add sqlite and config support
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
mod app;
|
||||
mod event;
|
||||
mod schema;
|
||||
mod types;
|
||||
mod config;
|
||||
mod helpers;
|
||||
|
||||
use color_eyre::Result;
|
||||
use tokio;
|
||||
@@ -8,7 +12,7 @@ use tokio;
|
||||
async fn main() -> Result<()> {
|
||||
color_eyre::install()?;
|
||||
let terminal = ratatui::init();
|
||||
let mut app = app::App::new();
|
||||
let app = app::App::new();
|
||||
let result = app.run(terminal).await;
|
||||
ratatui::restore();
|
||||
result
|
||||
|
||||
Reference in New Issue
Block a user