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

Function clearLine

cmd/formatter/ansi.go:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func clearLine() {
66 if disableAnsi {
67 return
68 }
69 // Does not move cursor from its current position
70 fmt.Print(aec.EraseLine(aec.EraseModes.Tail))
71}
72
73func moveCursorUp(lines int) {
74 if disableAnsi {

Callers 4

printErrorMethod · 0.85
printNavigationMenuMethod · 0.85
clearNavigationMenuMethod · 0.85
allocateSpaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected