diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-01 15:30:14 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-01 15:30:14 -0500 |
| commit | b919f8c0329dcce6802195df1ef0c21780a3a615 (patch) | |
| tree | a461cc35f1c9d79caf76ea4b877c79179f998c97 | |
| parent | 4351f6b505ceb9ba1a522e48bcd2b45647eb99a5 (diff) | |
fix line clipping
| -rw-r--r-- | tui/layout.go | 2 |
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] { |
