fix(ui/chat): return mentions list command when popup is open (#774)
This commit is contained in:
parent
8806f87a46
commit
c8362d57f2
1 changed files with 1 additions and 1 deletions
|
|
@ -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() })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue