tui

package
v3.0.0-...-838862a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() []string

Types

type TUI

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

TUI is the main TUI model.

func New

func New(c common.Common) *TUI

New returns a new TUI model.

func (*TUI) Init

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

Init implements tea.Model.

func (*TUI) SetSize

func (ui *TUI) SetSize(width, height int)

SetSize implements common.Component.

func (*TUI) Update

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

Update implements tea.Model.

func (*TUI) View

func (ui *TUI) View() string

View implements tea.Model.

Jump to

Keyboard shortcuts

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