mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
canonize custom_render; duh flipped again
This commit is contained in:
parent
8bdd088f70
commit
43154c486d
4 changed files with 27 additions and 30 deletions
|
|
@ -37,6 +37,10 @@ mod phrase_select; pub(crate) use phrase_select::*;
|
|||
}
|
||||
}
|
||||
|
||||
pub fn render <F: Fn(&mut TuiOutput)->Usually<()>+Send+Sync> (render: F) -> impl Render<Tui> {
|
||||
Widget::new(|_|Ok(Some([0u16,0u16].into())), render)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
pub struct Tui {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue