Minor adjustment to seleted message style

This commit is contained in:
Matt Low 2024-07-10 01:21:06 +00:00
parent e59ce973b6
commit fe838f400f

View File

@ -19,7 +19,6 @@ var (
messageHeadingStyle = lipgloss.NewStyle().
MarginTop(1).
MarginBottom(1).
PaddingLeft(1).
Bold(true)
userStyle = lipgloss.NewStyle().Faint(true).Foreground(lipgloss.Color("10"))
@ -111,10 +110,10 @@ func (m *Model) renderMessageHeading(i int, message *api.Message) string {
suffix += faint.Render(fmt.Sprintf(" <%d/%d>", selectedReplyIndex+1, len(m.messages[i-1].Replies)))
}
if m.focus == focusMessages {
if i == m.selectedMessage {
prefix = "> "
}
} else {
prefix = " "
}
if message.ID == 0 {