core

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 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 GhostTick added in v0.2.4

func GhostTick() 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 GhostTickMsg added in v0.2.4

type GhostTickMsg time.Time

type ModeConfig

type ModeConfig struct {
	Target       string
	Source       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
	StateHistory
)

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