From 304820c919569519193865f6669717d573c42a9e Mon Sep 17 00:00:00 2001 From: Matt Low Date: Tue, 1 Oct 2024 04:26:57 +0000 Subject: [PATCH] tui: Show selected message indicator only when focused on messages --- pkg/tui/views/chat/view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tui/views/chat/view.go b/pkg/tui/views/chat/view.go index 5540c24..0ff11d9 100644 --- a/pkg/tui/views/chat/view.go +++ b/pkg/tui/views/chat/view.go @@ -64,7 +64,7 @@ func (m *Model) renderMessageHeading(i int, message *api.Message) string { var prefix, suffix string - if i == m.selectedMessage { + if i == m.selectedMessage && m.focus == focusMessages { prefix = "> " } else { prefix = " "