diff --git a/ui/cmd/greeting/update.go b/ui/cmd/greeting/update.go index 39226c6..bc5838c 100644 --- a/ui/cmd/greeting/update.go +++ b/ui/cmd/greeting/update.go @@ -16,6 +16,8 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { var inputCmd tea.Cmd switch msg := msg.(type) { + case tea.WindowSizeMsg: + m.window.UpdateSize() case tea.KeyMsg: switch msg.String() { case "ctrl+c", "q":