diff options
author | Shav Kinderlehrer <[email protected]> | 2024-03-06 01:11:00 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-03-06 01:11:00 -0500 |
commit | 557d3f32fd2ac7a21bd3da01e8e903db16a31e7e (patch) | |
tree | d4fdec837619601919a908218a943d75dc293a58 /src/main.rs | |
parent | 022574877dbabc1fbb386dc3b59765de528107c9 (diff) | |
download | molehole-557d3f32fd2ac7a21bd3da01e8e903db16a31e7e.tar.gz molehole-557d3f32fd2ac7a21bd3da01e8e903db16a31e7e.zip |
Implement app components
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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() } |