app

package
v0.0.0-...-c777963 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Exercise exercise.Service
	// contains filtered or unexported fields
}

func NewModel

func NewModel(words []string, wordCount int, duration time.Duration) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) RenderLines

func (m Model) RenderLines() string

func (Model) RenderWord

func (m Model) RenderWord(idx int) string

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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