use std::io; use tundra::prelude::*; struct MyState; impl State for MyState { type Result = 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 { todo!("Handle key press events") } } fn main() -> io::Result<()> { let ctx = &mut Context::new()?; let state = MyState; state.run(ctx); Ok(()) }