Crossterm event polling

This commit is contained in:
2026-07-15 07:35:41 +02:00
parent 0236eb7cb0
commit d0bb988750
2 changed files with 11 additions and 5 deletions
+4
View File
@@ -21,6 +21,10 @@ impl App for PulseTradeApp {
}
*self.count.lock().await += 1;
if *self.count.lock().await > 10 {
ctx.close().await;
}
}
async fn layout(&self) -> pulse_ui::layout::LayoutItem {