core

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearDisconnectCmd added in v0.2.0

func ClearDisconnectCmd() tea.Cmd

func Tick

func Tick() tea.Cmd

func WPMTick

func WPMTick() tea.Cmd

Types

type ClearDisconnectMsg added in v0.2.0

type ClearDisconnectMsg struct{}

type ModeConfig

type ModeConfig struct {
	Target       string
	Duration     int
	InitialWords int
	Language     database.Language
	Category     database.QuoteCategory
	InitialTime  int
}

type SessionState

type SessionState int
const (
	StateTyping SessionState = iota
	StateResults
	StateCommandPalette
	StateConfig
	StateLobby
	StateCountdown
)

type TickMsg

type TickMsg time.Time

type TickWpmMsg

type TickWpmMsg time.Time

Jump to

Keyboard shortcuts

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