ui

package
v0.0.0-...-a09db05 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

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

UI holds the main UI of the application.

func New

func New(common *common.Common) *UI

New returns a new UI.

func (*UI) Init

func (ui *UI) Init() tea.Cmd

Init implements tea.Model.

func (*UI) Update

func (ui *UI) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update implements tea.Model.

func (*UI) View

func (ui *UI) View() string

View implements tea.Model.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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