mirror of https://github.com/docker/compose.git
Merge pull request #10169 from laurazard/fix-terminal-height
Adjust terminal height calc
This commit is contained in:
commit
db267d86c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue