tview

package
v0.0.0-...-09a0bf3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(selectFileCh chan<- string, selectFile bool) model

func NewProgressPage

func NewProgressPage() progressPage

func NewScriptSelectPage

func NewScriptSelectPage(b bool) pager

Types

type EmptyPage

type EmptyPage struct{}

func (EmptyPage) Init

func (e EmptyPage) Init(m model) tea.Cmd

func (EmptyPage) Update

func (e EmptyPage) Update(_ *model, _ tea.Msg) tea.Cmd

func (EmptyPage) View

func (e EmptyPage) View(_ model) string

type HomePage

type HomePage struct{}

func (HomePage) Init

func (h HomePage) Init(m model) tea.Cmd

func (HomePage) Update

func (h HomePage) Update(m *model, msg tea.Msg) tea.Cmd

func (HomePage) View

func (h HomePage) View(_ model) string

type Program

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

func NewProgram

func NewProgram(selectFileCh chan<- string) Program

func (Program) Run

func (p Program) Run()

func (Program) Send

func (p Program) Send(msg tea.Msg)

Jump to

Keyboard shortcuts

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