app

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorStyle

func ErrorStyle() lipgloss.Style

Expose styles for main package

func SuccessStyle

func SuccessStyle() lipgloss.Style

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

App state

func NewModel

func NewModel() Model

func (Model) Cleanup

func (m Model) Cleanup() error

func (Model) Init

func (m Model) Init() tea.Cmd

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