Documentation ¶ Index ¶ type KeyMap func NewKeyMap() KeyMap type Model func New(title string, message string, confirmCmd tea.Cmd) Model func (m Model) Help() []key.Binding func (m Model) Init() tea.Cmd func (m Model) SetSize(width, height int) dialog.Content func (m Model) Update(msg tea.Msg) (dialog.Content, tea.Cmd) func (m Model) View() string 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 Source Files ¶ View all Source files confirm.gokey.go Click to show internal directories. Click to hide internal directories.