confirm

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyMap

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

func NewKeyMap

func NewKeyMap() KeyMap

type Model

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

func New

func New(title string, message string, confirmCmd tea.Cmd) Model

func (Model) Help

func (m Model) Help() []key.Binding

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) SetSize

func (m Model) SetSize(width, height int) dialog.Content

func (Model) Update

func (m Model) Update(msg tea.Msg) (dialog.Content, 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