From 9c2f6cae88aa46b5dd54edd813dd1604aa6d5386 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 7 Jan 2025 19:16:16 +0900 Subject: Fix adaptive height with --header-border --- src/terminal.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/terminal.go b/src/terminal.go index f22ec1ca..cb560b90 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -1093,6 +1093,9 @@ func (t *Terminal) extraLines() int { if t.listBorderShape.Visible() { extra += borderLines(t.listBorderShape) } + if t.headerBorderShape.Visible() { + extra += borderLines(t.headerBorderShape) + } if !t.noSeparatorLine() { extra++ } -- cgit v1.2.3