MCPcopy Create free account
hub / github.com/go-task/task / View

Method View

internal/input/input.go:133–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func (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
143type selectModel struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected