mirror of
https://github.com/charmbracelet/gum
synced 2024-06-01 13:22:26 +02:00
12 lines
454 B
Go
12 lines
454 B
Go
package input
|
|
|
|
// Options are the customization options for the input.
|
|
type Options struct {
|
|
CursorColor string `help:"Color of prompt" default:"212"`
|
|
Placeholder string `help:"Placeholder value" default:"Type something..."`
|
|
Prompt string `help:"Prompt to display" default:"> "`
|
|
PromptColor string `help:"Color of prompt" default:"7"`
|
|
Value string `help:"Initial value" default:""`
|
|
Width int `help:"Input width" default:"20"`
|
|
}
|