Help us shape the future of Go! Take the 2026 Go Developer Survey

confirm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 3 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[T any, U any] struct {
	Prompt       string
	Width        int
	Height       int
	HoverConfirm bool
	ConfirmMsg   T
	CancelMsg    U
}

func (Model[T, U]) Init

func (m Model[T, U]) Init() tea.Cmd

func (Model[T, U]) Update

func (m Model[T, U]) Update(msg tea.Msg) (Model[T, U], tea.Cmd)

func (Model[T, U]) View

func (m Model[T, U]) View() string

Jump to

Keyboard shortcuts

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