play

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c challenge.Challenge, width, height int, backHandler BackHandler) (tea.Model, tea.Cmd)

func RenderLayoutErr added in v0.6.1

func RenderLayoutErr(msg tea.KeyMsg) string

func ValidateBindings added in v0.6.1

func ValidateBindings(msg tea.KeyMsg) bool

Types

type BackHandler added in v0.6.0

type BackHandler func(tea.WindowSizeMsg) (tea.Model, tea.Cmd)

Jump to

Keyboard shortcuts

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