yay/cmd/dance/main.go

30 lines
412 B
Go
Raw Normal View History

package main
import "mcquay.me/yay"
type Dance struct {
yay.Sequence
}
func NewDance() *Dance {
d := &Dance{
yay.Sequence{
Frames: [][]rune{
[]rune(`<('o'<) `),
[]rune(` ('-') `),
[]rune(` (>'o')>`),
[]rune(` ('-') `),
[]rune(` ('-') `),
[]rune(` ('-') `),
[]rune(` (>'o')>`),
},
},
}
return d
}
func main() {
t := yay.NewViewPort(NewDance())
t.Run()
}