Crossterm interface

This commit is contained in:
2026-07-14 13:52:41 -04:00
parent 3428beef8e
commit fd7192e111
4 changed files with 63 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ pub trait Widget {
fn render(&self, scope: &mut RenderScope);
}
impl Widget for str {
impl Widget for &str {
fn render(&self, scope: &mut RenderScope) {
scope.draw_text(0, self);
}