ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bubble

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

func New

func New() Bubble

func (Bubble) Init

func (b Bubble) Init() tea.Cmd

func (Bubble) Update

func (b Bubble) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Bubble) View

func (b Bubble) View() string

type KeyMap

type KeyMap struct {
	Quit           key.Binding
	Exit           key.Binding
	SelectListItem key.Binding
	Back           key.Binding
	Next           key.Binding
}

func DefaultKeyMap

func DefaultKeyMap() KeyMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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