fix(tui): render attachments in user messages in accent color

This commit is contained in:
adamdotdevin
2025-07-16 04:44:38 -05:00
parent 9f5b59f336
commit a39136a2a0
2 changed files with 16 additions and 3 deletions

View File

@@ -1117,7 +1117,9 @@ func formatConversationToMarkdown(messages []app.Message) string {
continue
}
builder.WriteString(fmt.Sprintf("**%s** (*%s*)\n\n", role, timestamp.Format("2006-01-02 15:04:05")))
builder.WriteString(
fmt.Sprintf("**%s** (*%s*)\n\n", role, timestamp.Format("2006-01-02 15:04:05")),
)
for _, part := range msg.Parts {
switch p := part.(type) {