tui: Show selected message indicator only when focused on messages

This commit is contained in:
Matt Low 2024-10-01 04:26:57 +00:00
parent 93c2fb3d1e
commit 304820c919

View File

@ -64,7 +64,7 @@ func (m *Model) renderMessageHeading(i int, message *api.Message) string {
var prefix, suffix string var prefix, suffix string
if i == m.selectedMessage { if i == m.selectedMessage && m.focus == focusMessages {
prefix = "> " prefix = "> "
} else { } else {
prefix = " " prefix = " "