Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/esm-dev/esm.sh
/ maxLines
Method
maxLines
cli/command_add.go:460–462 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
458
}
459
460
func
(ui *subModuleSelectUI) maxLines() int {
461
return
min(ui.termHeight-3, len(ui.subModules))
462
}
463
464
func
(ui *subModuleSelectUI) render(resetCursor bool) {
465
start := 0
Callers
2
clearLines
Method · 0.95
render
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected