From be4027ce28f812f905bfd1b5575e198729a6c4cc Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 8 Jul 2022 17:20:34 -0700 Subject: [PATCH] fix(write): honor --height argument --- write/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/write/command.go b/write/command.go index 54dff3c..2b2b50d 100644 --- a/write/command.go +++ b/write/command.go @@ -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()