footer (#3)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
mod app;
|
||||
mod countdown;
|
||||
mod footer;
|
||||
mod pomodoro;
|
||||
mod timer;
|
||||
mod utils;
|
||||
@@ -10,7 +11,7 @@ use color_eyre::{eyre::Context, Result};
|
||||
fn main() -> Result<()> {
|
||||
color_eyre::install()?;
|
||||
let terminal = ratatui::init();
|
||||
let app_result = App::default().run(terminal).context("app loop failed");
|
||||
let app_result = App::new().run(terminal).context("app loop failed");
|
||||
ratatui::restore();
|
||||
app_result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user