We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47f0f3 commit aa31387Copy full SHA for aa31387
pkg/progress/tty.go
@@ -118,7 +118,7 @@ func (w *ttyWriter) printTailEvents() {
118
}
119
120
121
-func (w *ttyWriter) print() {
+func (w *ttyWriter) print() { //nolint:gocyclo
122
w.mtx.Lock()
123
defer w.mtx.Unlock()
124
if len(w.eventIDs) == 0 {
@@ -182,7 +182,12 @@ func (w *ttyWriter) print() {
182
183
184
185
-
+ for i := numLines; i < w.numLines; i++ {
186
+ if numLines < goterm.Height()-2 {
187
+ fmt.Fprintln(w.out, strings.Repeat(" ", terminalWidth))
188
+ numLines++
189
+ }
190
191
w.numLines = numLines
192
193
0 commit comments