Merge pull request #10169 from laurazard/fix-terminal-height

Adjust terminal height calc
This commit is contained in:
Laura Brehm 2023-01-12 11:21:34 +01:00 committed by GitHub
commit db267d86c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ func (w *ttyWriter) print() {
} }
skipChildEvents := false skipChildEvents := false
if len(w.eventIDs) > goterm.Height()-1 { if len(w.eventIDs) > goterm.Height()-2 {
skipChildEvents = true skipChildEvents = true
} }
numLines := 0 numLines := 0