2022-07-06 18:06:08 +02:00
|
|
|
package input
|
|
|
|
|
|
|
|
// Options are the customization options for the input.
|
|
|
|
type Options struct {
|
2022-07-07 23:46:22 +02:00
|
|
|
CursorColor string `help:"Color of prompt" default:"212"`
|
2022-07-06 18:06:08 +02:00
|
|
|
Placeholder string `help:"Placeholder value" default:"Type something..."`
|
|
|
|
Prompt string `help:"Prompt to display" default:"> "`
|
2022-07-07 23:46:22 +02:00
|
|
|
PromptColor string `help:"Color of prompt" default:"7"`
|
2022-07-11 22:53:11 +02:00
|
|
|
Value string `help:"Initial value" default:""`
|
2022-07-06 18:06:08 +02:00
|
|
|
Width int `help:"Input width" default:"20"`
|
|
|
|
}
|