Explorar o código

Focus input on channel selected

ayn2op %!s(int64=3) %!d(string=hai) anos
pai
achega
0cbd72807b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      guilds_tree.go

+ 1 - 1
guilds_tree.go

@@ -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 {