mirror of
https://github.com/charmbracelet/gum
synced 2024-06-26 09:10:09 +02:00
11 lines
400 B
Go
11 lines
400 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"`
|
|
Width int `help:"Input width" default:"20"`
|
|
}
|