ui

package
v0.0.0-...-3a816db Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILE   = "file"
	RANDOM = "random"
	MANUAL = "manual"
)

Variables

This section is empty.

Functions

func Render

func Render(view string) string

func Style

func Style() lipgloss.Style

Types

type Footer lang.Label
type Header lang.Label

type Model

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

func InitialModel

func InitialModel() Model

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