Documentation ¶
Index ¶
- Variables
- type KeyMap
- type Model
- func (m Model) Data() string
- func (m Model) DataString() string
- func (m Model) Error() error
- func (m Model) Init() tea.Cmd
- func (m Model) KeyBindings() []key.Binding
- func (m Model) Quitting() bool
- func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m Model) UseKeyEnter() bool
- func (m Model) UseKeyQ() bool
- func (m Model) View() string
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKeyMap = KeyMap{ Confirm: key.NewBinding( key.WithKeys("ctrl+d"), key.WithHelp("ctrl+d", "confirm"), ), Quit: key.NewBinding( key.WithKeys("esc", "ctrl+c"), key.WithHelp("esc", "quit"), ), }
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) DataString ¶
func (Model) KeyBindings ¶
func (Model) UseKeyEnter ¶
Click to show internal directories.
Click to hide internal directories.