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

Function saveCursor

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

Source from the content-addressed store, hash-verified

26var disableAnsi bool
27
28func saveCursor() {
29 if disableAnsi {
30 return
31 }
32 // see https://github.com/morikuni/aec/pull/5
33 fmt.Print(aec.Save)
34}
35
36func restoreCursor() {
37 if disableAnsi {

Callers 2

printNavigationMenuMethod · 0.85
clearNavigationMenuMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected