()
| 368 | } |
| 369 | |
| 370 | func (m *multiSelectSearchField) activeStyles() *huh.FieldStyles { |
| 371 | theme := m.theme |
| 372 | if theme == nil { |
| 373 | theme = huh.ThemeFunc(huh.ThemeCharm) |
| 374 | } |
| 375 | if m.focused { |
| 376 | return &theme.Theme(m.hasDarkBg).Focused |
| 377 | } |
| 378 | return &theme.Theme(m.hasDarkBg).Blurred |
| 379 | } |
| 380 | |
| 381 | func (m *multiSelectSearchField) Focus() tea.Cmd { |
| 382 | m.focused = true |
no test coverage detected