splash

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
 ▟██▖▝█ █▌
▐▛  ▘ █▖█
▐▌    ▐█▛
▝█▄▄▌  █▌
 ▝▀▀   █
      █▌
`

toilet -f smmono12 cy

Variables

View Source
var SplashStory stories.InitFunc = func(ctx context.Context) (mux.Screen, error) {
	return New(
		ctx,
		geom.DEFAULT_SIZE,
		true,
	), nil
}

Functions

func New

func New(ctx context.Context, size geom.Size, shouldAnimate bool) *taro.Program

Types

type Splash

type Splash struct {
	util.Lifetime
	// contains filtered or unexported fields
}

func (*Splash) Init

func (s *Splash) Init() taro.Cmd

func (*Splash) Update

func (s *Splash) Update(msg tea.Msg) (taro.Model, tea.Cmd)

func (*Splash) View

func (s *Splash) View(state *tty.State)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL