MCPcopy
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
460func (ui *subModuleSelectUI) maxLines() int {
461 return min(ui.termHeight-3, len(ui.subModules))
462}
463
464func (ui *subModuleSelectUI) render(resetCursor bool) {
465 start := 0

Callers 2

clearLinesMethod · 0.95
renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected