From 9daf41892f77768662051006a3b8a086894b776f Mon Sep 17 00:00:00 2001 From: Laura Brehm Date: Thu, 12 Jan 2023 11:20:05 +0100 Subject: [PATCH] Adjust terminal height calc Signed-off-by: Laura Brehm --- pkg/progress/tty.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/progress/tty.go b/pkg/progress/tty.go index dc8ebf83fb6..b329d245546 100644 --- a/pkg/progress/tty.go +++ b/pkg/progress/tty.go @@ -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