diff options
author | Julian T. <julian@jtle.dk> | 2024-04-28 00:05:33 +0200 |
---|---|---|
committer | Julian T. <julian@jtle.dk> | 2024-04-28 00:05:33 +0200 |
commit | 0b29e9b14607f3226c46f75a20f11abd49c8f4a6 (patch) | |
tree | f35d4d8021fc018e7e04c4268b543b1971a9af66 /src/main.rs | |
parent | b27e72f5ac588506941b74c1f421235eb59e69d5 (diff) |
Start with tui instead
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index b97e52d..e5a8fa2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,9 @@ -mod commands; +use std::io::Result; -fn main() { - println!("Hello, world!"); +mod tui; + +fn main() -> Result<()> { + let mut terminal = tui::init(); + tui::restore(); + Ok(()) } |