From 557d3f32fd2ac7a21bd3da01e8e903db16a31e7e Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Wed, 6 Mar 2024 01:11:00 -0500 Subject: Implement app components --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 32845d3..29c6439 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,12 +2,14 @@ mod action; mod app; mod app_event; mod component; +mod components; mod tui; use eyre::Result; fn main() -> Result<()> { - let mut app = app::App::start(std::time::Duration::from_millis(10))?; + let mut app = app::App::new(std::time::Duration::from_millis(10))?; + app.run()?; app.quit() } -- cgit v1.2.3