Fixed formatting for header-click

pull/3768/head
Clem Rowe 1 month ago
parent 0b68c1aad4
commit 29a4018f05

@ -4018,15 +4018,15 @@ func (t *Terminal) Loop() {
lineOffset := 0 lineOffset := 0
numLines := t.visibleHeaderLines() numLines := t.visibleHeaderLines()
if !t.headerFirst { if !t.headerFirst {
// offset for info line // offset for info line
if t.noSeparatorLine() { if t.noSeparatorLine() {
lineOffset = 1 lineOffset = 1
} else { } else {
lineOffset = 2 lineOffset = 2
} }
} else { } else {
// adjust for too-small window // adjust for too-small window
numItems := t.areaLines - numLines numItems := t.areaLines - numLines
if !t.noSeparatorLine() { if !t.noSeparatorLine() {
numItems -= 1 numItems -= 1
} }

Loading…
Cancel
Save