tui

package
v0.0.0-...-045c0c7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TUIFrontend

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

func New

func New() *TUIFrontend

func (*TUIFrontend) ChoicesMade

func (t *TUIFrontend) ChoicesMade(ctx context.Context, choices frontend.Choices) error

func (*TUIFrontend) HardwareState

func (t *TUIFrontend) HardwareState(ctx context.Context, state frontend.HardwareState) error

func (*TUIFrontend) Init

func (t *TUIFrontend) Init() tea.Cmd

func (*TUIFrontend) Initialize

func (t *TUIFrontend) Initialize(ctx context.Context, commands chan any) error

func (*TUIFrontend) Shutdown

func (t *TUIFrontend) Shutdown(ctx context.Context) error

func (*TUIFrontend) Update

func (t *TUIFrontend) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*TUIFrontend) View

func (t *TUIFrontend) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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