components

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscHandler added in v0.2.11

func EscHandler(h bool) tea.Cmd

func MsgCmd added in v0.2.11

func MsgCmd(msg tea.Msg) tea.Cmd
func NavigatorPop() tea.Msg
func NavigatorPush(m tea.Model) tea.Cmd

func Repeat added in v0.2.11

func Repeat(msg tea.Msg) tea.Cmd

Types

type NavModel interface {
	tea.Model
	Enter() tea.Cmd
	Out() tea.Cmd
}
type Navigator struct {
	// contains filtered or unexported fields
}

func NewNavigator added in v0.2.11

func NewNavigator() *Navigator
func (nav *Navigator) Pop() tea.Model
func (nav *Navigator) Push(m tea.Model) (tea.Model, tea.Cmd)
func (nav *Navigator) Update(msg tea.Msg) tea.Cmd
func (nav *Navigator) View() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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