Adjust terminal height calc Signed-off-by: Laura Brehm <laurabrehm@hey.com>
Laura Brehm
1 year, 4 months ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
pkg/progress/tty.go
less
more
157
157
}
158
158
159
159
skipChildEvents := false
160
if len(w.eventIDs) > goterm.Height()-1 {
160
if len(w.eventIDs) > goterm.Height()-2 {
161
161
skipChildEvents = true
162
162
}
163
163
numLines := 0