widgets

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout = 30 // seconds
	PIDFilename    = "widget.pid"
)

Variables

This section is empty.

Functions

func NoticeUI

func NoticeUI(pl platforms.Platform, argsPath string, loader bool) error

NoticeUI is a simple TUI screen that displays a message on screen. It can also optionally include a loading indicator spinner next to the message.

func NoticeUIBuilder

func NoticeUIBuilder(_ platforms.Platform, argsPath string, loader bool) (*tview.Application, error)

func PickerUI

func PickerUI(cfg *config.Instance, pl platforms.Platform, argsPath string) error

PickerUI displays a list picker of Zap Link Cmds to run via the API.

func PickerUIBuilder

func PickerUIBuilder(cfg *config.Instance, _ platforms.Platform, argsPath string) (*tview.Application, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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