| 447 | } |
| 448 | |
| 449 | type multiSelectModel struct { |
| 450 | search textinput.Model |
| 451 | options []*multiSelectOption |
| 452 | cursor int |
| 453 | message string |
| 454 | canceled bool |
| 455 | selected bool |
| 456 | isCustomInputMode bool // track if we're adding a custom option |
| 457 | customInput string // store custom input |
| 458 | enableCustomInput bool // control whether custom input is allowed |
| 459 | } |
| 460 | |
| 461 | func (multiSelectModel) Init() tea.Cmd { |
| 462 | return nil |
nothing calls this directly
no outgoing calls
no test coverage detected