Documentation
¶
Index ¶
- type Action
- type Key
- type KeysLine
- func (kl KeysLine) Init() tea.Cmd
- func (kl KeysLine) SetAction(action Action)
- func (kl KeysLine) SetActionAt(i int, action Action)
- func (kl KeysLine) SetDisplay(i int, display string)
- func (kl KeysLine) SetDisplays(displays ...string)
- func (kl KeysLine) SetOnce(b bool)
- func (kl KeysLine) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (kl KeysLine) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeysLine ¶
type KeysLine []*Key
func NewKeysLine ¶
func (KeysLine) SetActionAt ¶ added in v0.2.1
func (KeysLine) SetDisplay ¶ added in v0.2.1
func (KeysLine) SetDisplays ¶
Click to show internal directories.
Click to hide internal directories.