tui

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch()

Types

type Background

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

func NewBackground

func NewBackground() *Background

type DownloadInfo

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

type LoadingModel

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

func NewLoadingModel

func NewLoadingModel(options outputLoadingOptions) LoadingModel

func (LoadingModel) Init

func (m LoadingModel) Init() tea.Cmd

func (LoadingModel) Update

func (m LoadingModel) Update(msg tea.Msg) (LoadingModel, tea.Cmd)

func (LoadingModel) View

func (m LoadingModel) View() (s string)

type Model

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

func InitialModel

func InitialModel(bg *Background) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() (s string)

type VersionSelectModel

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

func NewVersionSelectModel

func NewVersionSelectModel(bg *Background) VersionSelectModel

func (VersionSelectModel) Init

func (m VersionSelectModel) Init() tea.Cmd

func (VersionSelectModel) Update

func (VersionSelectModel) View

func (m VersionSelectModel) View() (s string)

Jump to

Keyboard shortcuts

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