asciimation

package
v0.0.0-...-dc7a3d3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: 0BSD Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

func (Frame) Render

func (f Frame) Render(yellow, blue lipgloss.Style) string

type HelpModel

type HelpModel struct {
	// contains filtered or unexported fields
}

func NewHelpModel

func NewHelpModel() HelpModel

func (HelpModel) Update

func (m HelpModel) Update(msg tea.Msg) (HelpModel, tea.Cmd)

func (HelpModel) View

func (m HelpModel) View() string

type Model

type Model struct {
	Progress  ModelProg
	Help      HelpModel
	Speed     int
	AltScreen bool
	// contains filtered or unexported fields
}

func New

func New() Model

func NewDefaultModel

func NewDefaultModel() Model

NewDefaultModel constructs the animation model with the shared styling used by both the SSH server and the standalone client.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() tea.View

type ModelProg

type ModelProg struct {
	MaxWidth int
	Padding  int

	Progress progress.Model
	// contains filtered or unexported fields
}

func (ModelProg) Update

func (m ModelProg) Update(msg tea.Msg) (ModelProg, tea.Cmd)

func (ModelProg) View

func (e ModelProg) View() string

type TickMsg

type TickMsg struct{}

Jump to

Keyboard shortcuts

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