summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 55dc08f48561c800a1876877a9c0e2789cd635df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pub mod app;
pub mod sheet;
pub mod tui;
pub mod widgets;
pub mod lua;
pub mod config;
pub mod state;
pub mod cursor;
pub mod tuicursor;

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() -> std::io::Result<()> {
    run()?;
    Ok(())
}