Explorar el Código

Focus input on channel selected

ayn2op hace 3 años
padre
commit
0cbd72807b
Se han modificado 1 ficheros con 1 adiciones y 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 {