Focus input on channel selected

This commit is contained in:
ayn2op 2023-01-08 00:29:51 +05:30
parent 02538a08a7
commit 0cbd72807b

View file

@ -190,7 +190,7 @@ func (gt *GuildsTree) onSelected(n *tview.TreeNode) {
}
}
app.SetFocus(messagesText)
app.SetFocus(messageInput)
case nil: // Direct messages
cs, err := discordState.Cabinet.PrivateChannels()
if err != nil {