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

Method Focus

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

Source from the content-addressed store, hash-verified

367}
368
369func (m *multiSelectSearchField) Focus() tea.Cmd {
370 m.focused = true
371 if m.mode == msModeSearch {
372 return m.search.Focus()
373 }
374 return nil
375}
376
377func (m *multiSelectSearchField) Blur() tea.Cmd {
378 m.focused = false

Callers 2

updateSelectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected