mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
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
|
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…
x
Reference in New Issue
Block a user