mirror of
https://github.com/charmbracelet/gum
synced 2024-05-17 21:56:42 +02:00
fix(write): honor --height argument
This commit is contained in:
parent
d760cf4048
commit
be4027ce28
|
@ -29,6 +29,7 @@ func (o Options) Run() {
|
|||
a.BlurredStyle.Prompt = lipgloss.NewStyle().Foreground(lipgloss.Color(o.PromptColor))
|
||||
|
||||
a.SetWidth(o.Width)
|
||||
a.SetHeight(o.Height)
|
||||
|
||||
p := tea.NewProgram(model{a}, tea.WithOutput(os.Stderr))
|
||||
m, _ := p.StartReturningModel()
|
||||
|
|
Loading…
Reference in a new issue