app

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
)

Functions

func ConfirmModal

func ConfirmModal(text string, okFunc func())

func CreateApplication

func CreateApplication(ctx context.Context, version string, profile string) (start func(Handler) error, err error)

func ErrorModal

func ErrorModal(err error)

func Goto

func Goto(ctx context.Context, handler Handler, option ...any)

func Region

func Region() string

func Suspend

func Suspend(f func()) bool

Types

type Handler

type Handler func(ctx context.Context, option ...any) (Page, error)

type Page

type Page interface {
	Render() tview.Primitive
}

Jump to

Keyboard shortcuts

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