MCPcopy Create free account
hub / github.com/cli/cli / Focus

Method Focus

internal/prompter/multi_select_with_search.go:381–387  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

379}
380
381func (m *multiSelectSearchField) Focus() tea.Cmd {
382 m.focused = true
383 if m.mode == msModeSearch {
384 return m.search.Focus()
385 }
386 return nil
387}
388
389func (m *multiSelectSearchField) Blur() tea.Cmd {
390 m.focused = false

Callers 2

updateSelectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected