on main help sign in
fix(ui): use Content instead of Layer for main view
7bc57e7Ayman Bagabas
internal/ui/model/ui.go+1−1
@@ -182,7 +182,7 @@ func (m *UI) View() tea.View {
182
182
183 layers = append(layers, mainLayer)
183 layers = append(layers, mainLayer)
184
184
185− v.Layer = lipgloss.NewCanvas(layers...)
185+ v.Content = lipgloss.NewCanvas(layers...)
186 if m.sendProgressBar && m.app != nil && m.app.AgentCoordinator != nil && m.app.AgentCoordinator.IsBusy() {
186 if m.sendProgressBar && m.app != nil && m.app.AgentCoordinator != nil && m.app.AgentCoordinator.IsBusy() {
187 // HACK: use a random percentage to prevent ghostty from hiding it
187 // HACK: use a random percentage to prevent ghostty from hiding it
188 // after a timeout.
188 // after a timeout.