Show delivery failure reason in message view header

Display the postqueue failure reason right-aligned in red on the
message header line so it's immediately visible when viewing a message.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nemunaire 2026-03-29 19:43:58 +07:00
commit 9c0ca254f5
2 changed files with 20 additions and 2 deletions

View file

@ -12,4 +12,5 @@ var (
partSepStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("240"))
attachStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("214"))
headerKeyStyle = lipgloss.NewStyle().Bold(true)
reasonStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("196"))
)