Skip to content

Commit

Permalink
Adjust terminal height calc
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
  • Loading branch information
laurazard committed Jan 12, 2023
1 parent 2aa88b5 commit 9daf418
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 9daf418

Please sign in to comment.