Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
123456789101112131415161718package tui
import ( "time"
tea "charm.land/bubbletea/v2")
// TickFunc schedules a message after a duration.type TickFunc func(time.Duration, func(time.Time) tea.Msg) tea.Cmd
func useTick(tick TickFunc, d time.Duration, fn func(time.Time) tea.Msg) tea.Cmd { if tick == nil { return tea.Tick(d, fn) } return tick(d, fn)}