File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ type Options struct {
29
29
Prompt string `help:"Prompt to display" default:"> " env:"GUM_FILTER_PROMPT"`
30
30
PromptStyle style.Styles `embed:"" prefix:"prompt." set:"defaultForeground=240" envprefix:"GUM_FILTER_PROMPT_"`
31
31
PlaceholderStyle style.Styles `embed:"" prefix:"placeholder." set:"defaultForeground=240" envprefix:"GUM_FILTER_PLACEHOLDER_"`
32
- Width int `help:"Input width" default:"20 " env:"GUM_FILTER_WIDTH"`
32
+ Width int `help:"Input width" default:"0 " env:"GUM_FILTER_WIDTH"`
33
33
Height int `help:"Input height" default:"0" env:"GUM_FILTER_HEIGHT"`
34
34
Value string `help:"Initial filter value" default:"" env:"GUM_FILTER_VALUE"`
35
35
Reverse bool `help:"Display from the bottom of the screen" env:"GUM_FILTER_REVERSE"`
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type Options struct {
16
16
CursorMode string `prefix:"cursor." name:"mode" help:"Cursor mode" default:"blink" enum:"blink,hide,static" env:"GUM_INPUT_CURSOR_MODE"`
17
17
Value string `help:"Initial value (can also be passed via stdin)" default:""`
18
18
CharLimit int `help:"Maximum value length (0 for no limit)" default:"400"`
19
- Width int `help:"Input width (0 for terminal width)" default:"40 " env:"GUM_INPUT_WIDTH"`
19
+ Width int `help:"Input width (0 for terminal width)" default:"0 " env:"GUM_INPUT_WIDTH"`
20
20
Password bool `help:"Mask input characters" default:"false"`
21
21
ShowHelp bool `help:"Show help keybinds" default:"true" negatable:"true" env:"GUM_INPUT_SHOW_HELP"`
22
22
Header string `help:"Header value" default:"" env:"GUM_INPUT_HEADER"`
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "github.com/charmbracelet/gum/style"
4
4
5
5
// Options are the customization options for the textarea.
6
6
type Options struct {
7
- Width int `help:"Text area width (0 for terminal width)" default:"50 " env:"GUM_WRITE_WIDTH"`
7
+ Width int `help:"Text area width (0 for terminal width)" default:"0 " env:"GUM_WRITE_WIDTH"`
8
8
Height int `help:"Text area height" default:"5" env:"GUM_WRITE_HEIGHT"`
9
9
Header string `help:"Header value" default:"" env:"GUM_WRITE_HEADER"`
10
10
Placeholder string `help:"Placeholder value" default:"Write something..." env:"GUM_WRITE_PLACEHOLDER"`
You can’t perform that action at this time.
0 commit comments