ui

package
v0.0.0-...-33a67f8 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

func New

func New() *Model

func (*Model) Confirm

func (m *Model) Confirm(title, message string) bool

func (*Model) Error

func (m *Model) Error(title, message string)

func (*Model) Info

func (m *Model) Info(ctx context.Context, title, footer, message string)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Input

func (m *Model) Input(ctx context.Context, title, footer, message string) string

func (*Model) Password

func (m *Model) Password(title, message string) string

func (*Model) Run

func (m *Model) Run() error

func (*Model) Select

func (m *Model) Select(title, message string, options []string) string

func (*Model) SelectMultiple

func (m *Model) SelectMultiple(title, message string, options []string) []string

func (*Model) SetData

func (m *Model) SetData(data []app.AttributeList)

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

func (*Model) Warning

func (m *Model) Warning(title, message string)

Directories

Path Synopsis
widgets
wm

Jump to

Keyboard shortcuts

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