diff --git a/internal/ui/chat/message_input.go b/internal/ui/chat/message_input.go index 9c3bdbc..3f9ef3c 100644 --- a/internal/ui/chat/message_input.go +++ b/internal/ui/chat/message_input.go @@ -153,7 +153,10 @@ func (mi *messageInput) Update(msg tview.Msg) tview.Cmd { mi.reset() return nil case keybind.Matches(msg, mi.cfg.Keybinds.MessageInput.TabComplete.Keybind): - return mi.tabComplete() + if mi.chat.GetVisible(mentionsListLayerName) { + return mi.tabComplete() + } + return handler(msg) case keybind.Matches(msg, mi.cfg.Keybinds.MessageInput.Undo.Keybind): return handler(tcell.NewEventKey(tcell.KeyCtrlZ, "", tcell.ModNone)) }