MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / View

Method View

internal/ui/input.go:162–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160}
161
162func (m confirmModel) View() string {
163 return confirmMark.Render(" ? ") + m.prompt + hintStyle.Render(" (y/n) ")
164}
165
166// Confirm shows a single-line y/n prompt and returns the user's answer.
167// Default (Enter, Esc, Ctrl-C) is deny — safer for destructive tools.

Callers 1

ViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected