navigator

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Navigator struct {
	TimeFormat    string
	TableHeight   int
	BaseStyle     lipgloss.Style
	HeaderStyle   lipgloss.Style
	SelectedStyle lipgloss.Style
	Columns       []table.Column
	ChosenUUID    string
	// contains filtered or unexported fields
}

func New

func New(info []entKb.BaseInfo) *Navigator
func (nav *Navigator) Back() bool
func (nav *Navigator) Build() table.Model
func (nav *Navigator) Choose(r table.Row) bool
func (nav *Navigator) Open(r table.Row) bool
func (nav *Navigator) Render(t table.Model) string

Jump to

Keyboard shortcuts

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