From 0b29e9b14607f3226c46f75a20f11abd49c8f4a6 Mon Sep 17 00:00:00 2001 From: "Julian T." Date: Sun, 28 Apr 2024 00:05:33 +0200 Subject: Start with tui instead --- src/main.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/main.rs') 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(()) } -- cgit v1.2.3