internal/ui/model/ui.go 🔗
@@ -396,6 +396,7 @@ func (m *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
// Reload prompt history for the new session.
m.historyReset()
cmds = append(cmds, m.loadPromptHistory())
+ m.updateLayoutAndSize()
case sendMessageMsg:
cmds = append(cmds, m.sendMessage(msg.Content, msg.Attachments...))