mirror of https://github.com/docker/compose.git
Adjust terminal height calc
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
2aa88b5c9e
commit
9daf41892f
|
@ -158,7 +158,7 @@ func (w *ttyWriter) print() {
|
||||||
}
|
}
|
||||||
|
|
||||||
skipChildEvents := false
|
skipChildEvents := false
|
||||||
if len(w.eventIDs) > goterm.Height()-1 {
|
if len(w.eventIDs) > goterm.Height()-2 {
|
||||||
skipChildEvents = true
|
skipChildEvents = true
|
||||||
}
|
}
|
||||||
numLines := 0
|
numLines := 0
|
||||||
|
|
Loading…
Reference in New Issue