summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/chat
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-12-24 17:41:07 +0200
committerKyren223 <Kyren223@proton.me>2024-12-24 17:41:07 +0200
commit0746f3de04c81e39f5602e6822e2dbb45e1fa89b (patch)
tree0b577db5bb7f790382bff8582e6d13fce448567f /internal/client/ui/core/chat
parent534ef0df87f0f26c6211ada1ea8bd53c65acc1e8 (diff)
Selected message resets when focus is lost
Diffstat (limited to 'internal/client/ui/core/chat')
-rw-r--r--internal/client/ui/core/chat/chat.go1
1 files changed, 1 insertions, 0 deletions
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()
}