aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-03-06 01:11:00 -0500
committerShav Kinderlehrer <[email protected]>2024-03-06 01:11:00 -0500
commit557d3f32fd2ac7a21bd3da01e8e903db16a31e7e (patch)
treed4fdec837619601919a908218a943d75dc293a58 /src/main.rs
parent022574877dbabc1fbb386dc3b59765de528107c9 (diff)
downloadmolehole-557d3f32fd2ac7a21bd3da01e8e903db16a31e7e.tar.gz
molehole-557d3f32fd2ac7a21bd3da01e8e903db16a31e7e.zip
Implement app components
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
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()
}