Documentation
¶
Overview ¶
Package prompt is a small modal text field used to collect a single- or multi-line value (an issue title, a comment, a label list). It is a dumb component: the parent decides which keys submit or cancel and reads Value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) Open ¶
Open configures the prompt for a field and focuses it, returning the focus command so the caller can start the cursor. multiline chooses a textarea (submit on ctrl+d) over a single-line input (submit on enter).
Click to show internal directories.
Click to hide internal directories.