down to 28e, sane ones

This commit is contained in:
🪞👃🪞 2024-12-31 15:50:53 +01:00
parent 46609855eb
commit 16e6a0397c
15 changed files with 91 additions and 87 deletions

View file

@ -24,7 +24,6 @@ render!(Tui: |self: Border<S: BorderStyle>, to| {
to.blit(&self.0.e(), area.x() + area.w() - 1, y, self.0.style());
}
}
Ok(())
});
pub trait BorderStyle: Send + Sync + Copy {
@ -130,7 +129,7 @@ macro_rules! border {
#[derive(Copy, Clone)]
pub struct $T(pub Style);
impl Content<Tui> for $T {
fn render (&self, to: &mut TuiOutput) { self.draw(to) }
fn render (&self, to: &mut TuiOutput) { self.draw(to); }
}
)+}
}