From b919f8c0329dcce6802195df1ef0c21780a3a615 Mon Sep 17 00:00:00 2001 From: citrons Date: Sun, 1 Jun 2025 15:30:14 -0500 Subject: fix line clipping --- tui/layout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] { -- cgit v1.2.3