feat: TeamSpeak TUI client with Bubble Tea
- Created TUI client in cmd/tui - Implemented channel navigation and user display - Fixed serverInfo initialization in ts3client - Added real-time log panel in TUI - Ordered channels by ID for stability
This commit is contained in:
@@ -237,6 +237,7 @@ func (c *Client) handleInternalEvent(eventType string, data map[string]any) {
|
||||
serverName = v
|
||||
}
|
||||
c.selfInfo = &SelfInfo{ClientID: clientID, Nickname: c.config.Nickname}
|
||||
c.serverInfo = &ServerInfo{Name: serverName}
|
||||
c.emit(EventConnected, &ConnectedEvent{
|
||||
ClientID: clientID,
|
||||
ServerName: serverName,
|
||||
|
||||
Reference in New Issue
Block a user