moar flat

This commit is contained in:
facile pop culture reference 2026-08-01 17:52:37 +03:00
parent fc01fd6ad3
commit a27dacff93
29 changed files with 649 additions and 582 deletions

View file

@ -2,7 +2,7 @@
use ::tengri::{
*,
lang::*,
dizzle::*,
crossterm::event::{KeyEvent, Event::*, KeyCode::*},
ratatui::style::Color,
};
@ -13,8 +13,8 @@ tui_app!(State {
});
tui_view!(self: State {
thunk(|to: &mut Tui|{
let _ = "DEMO [MODE 00]".align_sw().draw(to);
draw(|to: &mut Tui|{
let _ = "Demo [Mode 00]".align_sw().draw(to);
let _ = ShowSize.align_se().draw(to);
let _ = format!("Counter:\n{}", self.counter).align_c().draw(to);
Ok(Some(to.area()))