tui: Show selected message indicator only when focused on messages
This commit is contained in:
parent
93c2fb3d1e
commit
304820c919
@ -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 = " "
|
||||||
|
Loading…
Reference in New Issue
Block a user