From 0746f3de04c81e39f5602e6822e2dbb45e1fa89b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 24 Dec 2024 17:41:07 +0200 Subject: Selected message resets when focus is lost --- internal/client/ui/core/chat/chat.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/client/ui/core/chat') diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index f2b0362..90e8d0d 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -194,6 +194,7 @@ func (m *Model) Focus() { func (m *Model) Blur() { m.focus = false + m.index = -1 m.vi.Blur() } -- cgit v1.3.1