Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ moveCursorUp
Function
moveCursorUp
cmd/formatter/ansi.go:73–79 ·
view source on GitHub ↗
(lines int)
Source
from the content-addressed store, hash-verified
71
}
72
73
func
moveCursorUp(lines int) {
74
if
disableAnsi {
75
return
76
}
77
// Does not add new lines
78
fmt.Print(aec.Up(uint(lines)))
79
}
80
81
func
moveCursorDown(lines int) {
82
if
disableAnsi {
Callers
1
createBuffer
Method · 0.85
Calls
1
Up
Method · 0.65
Tested by
no test coverage detected