ui

package
v0.0.0-...-08e5b78 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(_ context.Context, cli *clix.CLI[types.Flags]) *App

func (*App) Active

func (a *App) Active() types.Viewable

func (*App) Init

func (a *App) Init() tea.Cmd

func (*App) IsFocused

func (a *App) IsFocused(v types.Viewable) bool

func (*App) Previous

func (a *App) Previous() types.Viewable

func (*App) Update

func (a *App) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*App) View

func (a *App) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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