feat(chat): forward Tab to textarea when mentions list is hidden (#800)
This commit is contained in:
parent
a4464bb678
commit
19907d7889
1 changed files with 4 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue