mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-15 06:43:47 -05:00
Fix adaptive height with --header-border
This commit is contained in:
@@ -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++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user