few changes

This commit is contained in:
2025-01-17 22:13:42 +01:00
parent a2ec2f9d41
commit bde4438663
4 changed files with 104 additions and 15 deletions
+3
View File
@@ -16,6 +16,9 @@ pub type Element = std::sync::Arc<dyn Fn(&Frame) -> crate::Result<()>>;
pub trait Widget {
fn render(&self) -> String;
fn event(&mut self, event: console::Event) {
_ = event;
}
}
#[derive(Debug, Clone, Copy)]