mnemonic_input

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(m []string) tea.Cmd

func Error

func Error(err error) tea.Cmd

func NewBLSToExecutionMnemonicInput

func NewBLSToExecutionMnemonicInput() tui.NewModel[app.BLSToExecutionConfig]

func NewDepositMnemonicInput

func NewDepositMnemonicInput() tui.NewModel[app.DepositConfig]

func Next

func Next(curr int) tea.Cmd

func Prev

func Prev(curr int) tea.Cmd

Types

type Model

type Model[Config app.ConfigConstraint] struct {
	// contains filtered or unexported fields
}

func (*Model[Config]) Init

func (m *Model[Config]) Init() tea.Cmd

func (*Model[Config]) Update

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

func (*Model[Config]) View

func (m *Model[Config]) View() string

Jump to

Keyboard shortcuts

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