1mod app;
2mod events;
3mod ui;
4
5use app::App;
6use color_eyre::Result;
7
8pub async fn run() -> Result<()> {
9 color_eyre::install()?;
10 let terminal = ratatui::init();
11 let result = App::new().run(terminal).await;
12 ratatui::restore();
13 result
14}