ui

package
v0.0.0-...-900bd8d Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package ui provides ui interaction built with bubbletea

Package ui provides ui interaction built with bubbletea

Package ui provides ui interaction built with bubbletea

Package ui provides ui interaction built with bubbletea

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Model : TUI model as Elm architecture

func New

func New(path string) *Model

New : initialize model

func (*Model) Init

func (m *Model) Init() tea.Cmd

Init : builder func for bubbletea

func (*Model) Update

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

Update : bubletea required method

func (*Model) View

func (m *Model) View() string

View : bubbletea required method

Jump to

Keyboard shortcuts

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