Help us shape the future of Go! Take the 2026 Go Developer Survey

base

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 4 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 interface {
	tea.Model

	Context() context.Context
}

type MsgBack

type MsgBack struct{}

type Size

type Size struct {
	Width, Height int
}

type State

type State interface {
	Intermediate() bool
	KeyMap() help.KeyMap
	Title() string

	Resize(size Size)

	Update(model Model, msg tea.Msg) tea.Cmd
	View(model Model) string
	Init(model Model) tea.Cmd
}

type Styles

type Styles struct {
	Title    lipgloss.Style
	TitleBar lipgloss.Style
}

func DefaultStyles

func DefaultStyles() Styles

Jump to

Keyboard shortcuts

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