Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ extraLines
Function
extraLines
cmd/formatter/shortcut.go:378–380 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
376
}
377
378
func
extraLines(s string) int {
379
return
int(math.Floor(float64(lenAnsi(s)) / float64(goterm.Width())))
380
}
381
382
func
shortcutKeyColor(key string) string {
383
foreground :=
"38;2"
Callers
3
printError
Method · 0.85
createBuffer
Method · 0.85
printNavigationMenu
Method · 0.85
Calls
1
lenAnsi
Function · 0.70
Tested by
no test coverage detected