Adjust terminal height calc

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2023-01-12 11:20:05 +01:00
parent 2aa88b5c9e
commit 9daf41892f
No known key found for this signature in database
GPG Key ID: 526E3FC49260D47A
1 changed files with 1 additions and 1 deletions

View File

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