Skip to content

Commit db267d8

Browse files
authored
Merge pull request docker#10169 from laurazard/fix-terminal-height
Adjust terminal height calc
2 parents 2aa88b5 + 9daf418 commit db267d8

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)