()
| 131 | } |
| 132 | |
| 133 | func (m textModel) View() tea.View { |
| 134 | if m.done { |
| 135 | return tea.NewView("") |
| 136 | } |
| 137 | |
| 138 | prompt := promptStyle.Render(fmt.Sprintf("? Enter value for %s: ", m.varName)) |
| 139 | return tea.NewView(prompt + m.textInput.View() + "\n") |
| 140 | } |
| 141 | |
| 142 | // selectModel is the Bubble Tea model for selection |
| 143 | type selectModel struct { |
nothing calls this directly
no outgoing calls
no test coverage detected