Skip to content

Commit

Permalink
Merge pull request #10169 from laurazard/fix-terminal-height
Browse files Browse the repository at this point in the history
Adjust terminal height calc
  • Loading branch information
laurazard authored Jan 12, 2023
2 parents 2aa88b5 + 9daf418 commit db267d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/progress/tty.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db267d8

Please sign in to comment.