discordo/internal/ui/login/token/events.go
2026-04-03 00:18:50 -04:00

17 lines
257 B
Go

package token
import (
"github.com/ayn2op/tview"
"github.com/gdamore/tcell/v3"
)
type TokenEvent struct {
tcell.EventTime
Token string
}
func tokenCommand(token string) tview.Cmd {
return func() tview.Event {
return &TokenEvent{Token: token}
}
}