interactive

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2025 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupedStatusedPages

type GroupedStatusedPages map[string]StatusedPages

type Grouper

type Grouper interface {
	Group() string
}

type Interactable

type Interactable interface {
	Prioritizable
	Statuser
	Renderable
	Openable
	Grouper
}

type Openable

type Openable interface {
	Open() tea.Cmd
}

type Prioritizable

type Prioritizable interface {
	Priority() int64
}

type Renderable

type Renderable interface {
	Render(width int) string
}

type Root

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

func NewRoot

func NewRoot(entries ...Interactable) *Root

func (*Root) Init

func (r *Root) Init() tea.Cmd

func (*Root) Update

func (r *Root) Update(message tea.Msg) (tea.Model, tea.Cmd)

func (*Root) View

func (r *Root) View() string

type StatusedPages

type StatusedPages map[string][]pageset.Page

type Statuser

type Statuser interface {
	Status() string
}

Directories

Path Synopsis
models

Jump to

Keyboard shortcuts

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