diff --git a/crates/tek_core/src/tui.rs b/crates/tek_core/src/tui.rs index 2690aad4..17c524b6 100644 --- a/crates/tek_core/src/tui.rs +++ b/crates/tek_core/src/tui.rs @@ -443,7 +443,7 @@ impl Widget for Border { } fn render (&self, to: &mut TuiOutput) -> Usually<()> { let area = to.area(); - if area.w() > 2 && area.y() > 2 { + if area.w() > 0 && area.y() > 0 { to.blit(&self.0.nw(), area.x(), area.y(), self.0.style()); to.blit(&self.0.ne(), area.x() + area.w() - 1, area.y(), self.0.style()); to.blit(&self.0.sw(), area.x(), area.y() + area.h() - 1, self.0.style());