use tek::*; use std::sync::{Arc, RwLock}; fn main () -> Usually<()> { Tui::run(Arc::new(RwLock::new(BspDemo(Default::default()))))?; Ok(()) } pub struct BspDemo(std::marker::PhantomData); render!(|self:BspDemo|Fill::xy(Align::c( Bsp::n(Bsp::s(Bsp::e(Bsp::w("00", "11"), "22"), "33"), "44") ))); impl Handle for BspDemo { fn handle (&mut self, from: &TuiInput) -> Perhaps { Ok(None) } }