summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tui/layout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui/layout.go b/tui/layout.go
index 9acc65b..5811f4e 100644
--- a/tui/layout.go
+++ b/tui/layout.go
@@ -370,7 +370,7 @@ func (b *Box) drawComputed(parentRect rect, parentStyle Style) {
if y < b.computedRect.min[1] + b.Margins[2] {
continue
}
- if y > parentRect.max[1] {
+ if y >= parentRect.max[1] {
break
}
if y < parentRect.min[1] {