confirm

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Unlicense Imports: 9 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
}

Model is the model for the confirm component.

func Confirm

func Confirm(state ui.ApplicationState, r resource.Resource, width, height int) Model

func (*Model) Deleted

func (m *Model) Deleted() bool

func (Model) Init

func (m Model) Init() tea.Cmd

Init initializes the confirm component.

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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