diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-12-09 14:42:49 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-12-09 14:42:49 +0100 |
| commit | 4179cee401e93ea672739e692d142e58cce3f78a (patch) | |
| tree | 546ffe9224ae41e799568e58f6eb8d338814dcc8 /src/main.rs | |
| parent | c0598823335cfdc6deb5c48fe1ead8ecea18097e (diff) | |
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs index 1a465ca..55dc08f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,3 @@ -use mlua::prelude::*; -use std::io; - pub mod app; pub mod sheet; pub mod tui; @@ -11,14 +8,14 @@ pub mod state; pub mod cursor; pub mod tuicursor; -fn run() -> io::Result<()> { +fn run() -> std::io::Result<()> { let mut terminal = tui::init()?; let app_result = app::App::new().run(&mut terminal); tui::restore()?; app_result } -fn main() -> LuaResult<()> { +fn main() -> std::io::Result<()> { run()?; Ok(()) } |