feat(bangmode): adjust command output color
commit5f07034e42387e2b47b2cd81c8802df8d90b992c
authorKieran Klukas <kieran@dunkirk.sh>
dateFri 19 Jun 2026, 13:51 (4 months ago)
parent2f89862
internal/ui/chat/shell.go+1−4
@@ -201,10 +201,7 @@ func (s *ShellItem) RawRender(width int) string {
201201 prompt = s.sty.Messages.ShellPromptBlurred.Render("$")
202202 }
203203
204− highlighted, err := common.SyntaxHighlight(s.sty, cmd, "cmd.sh", s.sty.Background)
205− if err != nil || highlighted == "" {
206− highlighted = s.sty.Messages.ShellCommand.Render(cmd)
207− }
204+ highlighted := s.sty.Messages.ShellCommand.Render(cmd)
208205 header := prompt + " " + highlighted
209206
210207 if s.pending {
internal/ui/styles/quickstyle.go+1−1
@@ -849,7 +849,7 @@ func quickStyle(o quickStyleOpts) Styles {
849849 s.Messages.ShellPrompt = base.Foreground(o.primary).Bold(true)
850850 s.Messages.ShellPromptBlurred = base.Foreground(o.fgMoreSubtle)
851851 s.Messages.ShellCommand = base.Foreground(o.fgBase)
852− s.Messages.ShellOutput = subtle
852+ s.Messages.ShellOutput = lipgloss.NewStyle().Foreground(o.fgSubtle)
853853 s.Messages.ShellExitCode = lipgloss.NewStyle().Foreground(o.destructive)
854854 s.Messages.ShellTruncation = muted
855855