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:
Jose Luis Montañes Ojados
2026-01-16 14:41:26 +01:00
parent 8ef80530f6
commit c0b1217536
7 changed files with 608 additions and 1 deletions

View File

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