handleCustomInputBackspace handles backspace in custom input mode
()
| 629 | |
| 630 | // handleCustomInputBackspace handles backspace in custom input mode |
| 631 | func (m *multiSelectModel) handleCustomInputBackspace() (tea.Model, tea.Cmd) { |
| 632 | if len(m.customInput) > 0 { |
| 633 | m.customInput = m.customInput[:len(m.customInput)-1] |
| 634 | } |
| 635 | return m, nil |
| 636 | } |
| 637 | |
| 638 | func (m multiSelectModel) View() string { |
| 639 | var s strings.Builder |
no outgoing calls
no test coverage detected