on main help sign in
fix(ui): update layout and size after session switch
commit7119b7e6981ceff5764bd3903ac8cb995a65759c authorAyman Bagabas <ayman.bagabas@gmail.com> dateFri 30 Jan 2026, 20:06 (9 months ago) parent2439781
1 file changed+1
internal/ui/model/ui.go+1
internal/ui/model/ui.go+1
@@ -396,6 +396,7 @@ func (m *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
396396 // Reload prompt history for the new session.
397397 m.historyReset()
398398 cmds = append(cmds, m.loadPromptHistory())
399+ m.updateLayoutAndSize()
399400
400401 case sendMessageMsg:
401402 cmds = append(cmds, m.sendMessage(msg.Content, msg.Attachments...))