MCPcopy
hub / github.com/cli/cli / WithWidth

Method WithWidth

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

Source from the content-addressed store, hash-verified

429}
430
431func (m *multiSelectSearchField) WithWidth(width int) huh.Field {
432 m.width = width
433 m.search.SetWidth(width)
434 return m
435}
436
437func (m *multiSelectSearchField) WithHeight(height int) huh.Field {
438 m.height = height

Callers 2

runFormFunction · 0.80

Calls

no outgoing calls

Tested by 2

runFormFunction · 0.64