tui: revive example

This commit is contained in:
🪞👃🪞 2025-09-07 21:28:47 +03:00
parent 5e6338fad8
commit baa582b9dd
2 changed files with 22 additions and 9 deletions

View file

@ -63,6 +63,7 @@ impl ExampleCommand {
}
}
tui_draw!(|self: Example, to|to.place(&self.content()));
content!(TuiOut: |self: Example|{
let index = self.0 + 1;
let wh = self.1.wh();