tundra 0.3.0

A framework for building interactive applications for the terminal using Ratatui.
Documentation
use std::io;
use tundra::prelude::*;

struct MyState;

impl State for MyState {
    type Result<T> = T;
    type Out = ();
    type Global = ();

    fn draw(&self, _frame: &mut Frame) {
        todo!("Draw the state using Ratatui")
    }

    fn input(self, _key: KeyEvent, _ctx: &mut Context) -> Signal<Self> {
        todo!("Handle key press events")
    }
}

fn main() -> io::Result<()> {
    let ctx = &mut Context::new()?;
    let state = MyState;
    state.run(ctx);

    Ok(())
}