Draft: feat login

This commit is contained in:
2025-09-05 03:59:25 +08:00
parent 6d7074198f
commit 3a9ffe7857
43 changed files with 1894 additions and 91 deletions

14
utils/tick.go Normal file
View File

@@ -0,0 +1,14 @@
package utils
import (
"time"
"gitea.konchin.com/ytshih/inp2025/game/types"
tea "github.com/charmbracelet/bubbletea"
)
func Tick(d time.Duration) tea.Cmd {
return tea.Tick(d, func(t time.Time) tea.Msg {
return types.TickMsg(t)
})
}