MCPcopy Index your code
hub / github.com/cli/cli / WithWidth

Method WithWidth

internal/prompter/multi_select_with_search.go:443–447  ·  view source on GitHub ↗
(width int)

Source from the content-addressed store, hash-verified

441}
442
443func (m *multiSelectSearchField) WithWidth(width int) huh.Field {
444 m.width = width
445 m.search.SetWidth(width)
446 return m
447}
448
449func (m *multiSelectSearchField) WithHeight(height int) huh.Field {
450 m.height = height

Callers 2

runFormFunction · 0.80

Calls

no outgoing calls

Tested by 2

runFormFunction · 0.64