fix(ui/chat): return mentions list command when popup is open (#774)

This commit is contained in:
ayn2op 2026-03-18 20:15:05 -04:00 • committed by GitHub
parent 8806f87a46
commit c8362d57f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -169,7 +169,7 @@ func (mi *messageInput) HandleEvent(event tview.Event) tview.Command {
if mi.cfg.AutocompleteLimit > 0 {
if mi.chat.GetVisible(mentionsListLayerName) {
mi.mentionsList.HandleEvent(event)
return mi.mentionsList.HandleEvent(event)
}
go mi.chat.app.QueueUpdateDraw(func() { mi.tabSuggestion() })