@@ -352,7 +352,7 @@ func (m chatModel) View() string {
352352 leftDim = " - no approval needed"
353353 } else if m.containerEnabled && m.containerErr != nil {
354354 leftBold = "Container"
355- leftDim = " - docker not running"
355+ leftDim = " - Docker is not running. Start Docker and try again. "
356356 } else if m.containerEnabled {
357357 leftBold = "Container"
358358 leftDim = " - " + m.containerStatus
@@ -366,7 +366,13 @@ func (m chatModel) View() string {
366366 if gap < 1 {
367367 gap = 1
368368 }
369- leftRendered := lipgloss.NewStyle().Bold(true).Render(leftBold) + dimStyle.Render(leftDim)
369+ var leftRendered string
370+ if m.containerEnabled && m.containerErr != nil {
371+ redStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("#ff5555"))
372+ leftRendered = redStyle.Bold(true).Render(leftBold) + redStyle.Render(leftDim)
373+ } else {
374+ leftRendered = lipgloss.NewStyle().Bold(true).Render(leftBold) + dimStyle.Render(leftDim)
375+ }
370376 bottomBar.WriteString(leftRendered + strings.Repeat(" ", gap) + dimStyle.Render(rightStatus) + "\n")
371377 bottomBarLines++
372378 inputBox := lipgloss.NewStyle().
@@ -425,10 +431,12 @@ func (m chatModel) View() string {
425431 }
426432 if m.containerEnabled && m.containerStatus != "" {
427433 style := dimStyle
434+ text := "container: " + m.containerStatus
428435 if m.containerErr != nil {
429436 style = lipgloss.NewStyle().Foreground(lipgloss.Color("#ff5555"))
437+ text = "Docker is not running. Start Docker and try again."
430438 }
431- bottomBar.WriteString(style.Render("container: "+m.containerStatus ) + "\n")
439+ bottomBar.WriteString(style.Render(text ) + "\n")
432440 }
433441 _ = bottomBarLines
434442 }
0 commit comments