@@ -96,6 +96,10 @@ func getDynamicHeightLimits(availableHeight int) (maxFiles, maxLSPs, maxMCPs int
96// sidebar renders the chat sidebar containing session title, working
96// sidebar renders the chat sidebar containing session title, working
97// directory, model info, file list, LSP status, and MCP status.
97// directory, model info, file list, LSP status, and MCP status.
98func (m *UI) drawSidebar(scr uv.Screen, area uv.Rectangle) {
98func (m *UI) drawSidebar(scr uv.Screen, area uv.Rectangle) {
99+ if m.session == nil {
99 const logoHeightBreakpoint = 30
103 const logoHeightBreakpoint = 30
101 t := m.com.Styles
105 t := m.com.Styles