Skip to content

Commit 9daf418

Browse files
committed
Adjust terminal height calc
Signed-off-by: Laura Brehm <[email protected]>
1 parent 2aa88b5 commit 9daf418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/progress/tty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func (w *ttyWriter) print() {
158158
}
159159

160160
skipChildEvents := false
161-
if len(w.eventIDs) > goterm.Height()-1 {
161+
if len(w.eventIDs) > goterm.Height()-2 {
162162
skipChildEvents = true
163163
}
164164
numLines := 0

0 commit comments

Comments
 (0)