MCPcopy
hub / github.com/docker/compose / print

Method print

cmd/display/tty.go:284–294  ·  cmd/display/tty.go::ttyWriter.print
()

Source from the content-addressed store, hash-verified

282}
283
284func (w *ttyWriter) print() {
285 terminalWidth := goterm.Width()
286 terminalHeight := goterm.Height()
287 if terminalWidth <= 0 {
288 terminalWidth = 80
289 }
290 if terminalHeight <= 0 {
291 terminalHeight = 24
292 }
293 w.printWithDimensions(terminalWidth, terminalHeight)
294}
295
296func (w *ttyWriter) printWithDimensions(terminalWidth, terminalHeight int) {
297 w.mtx.Lock()

Callers 2

StartMethod · 0.95
DoneMethod · 0.95

Calls 1

printWithDimensionsMethod · 0.95

Tested by

no test coverage detected