tui

package
v0.0.0-...-ca4b8a4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialModel

func InitialModel(v []common.Video) model

Types

type Message

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

type Model

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

func New

func New(bufLength ...int) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) PushBytes

func (m *Model) PushBytes(msg []byte) tea.Cmd

func (*Model) PushString

func (m *Model) PushString(msg string) tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type UpdateLog

type UpdateLog struct{}

Jump to

Keyboard shortcuts

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