Documentation ¶
Index ¶
- func ToggleFooterCmd() tea.Msg
- func UpdateKeyMapCmd(keymap help.KeyMap) tea.Msg
- type Footer
- func (f *Footer) Height() int
- func (f *Footer) Init() tea.Cmd
- func (f *Footer) SetKeyMap(keymap help.KeyMap)
- func (f *Footer) SetShowAll(show bool)
- func (f *Footer) SetSize(width, height int)
- func (f *Footer) ShowAll() bool
- func (f *Footer) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (f *Footer) View() string
- type ToggleFooterMsg
- type UpdateKeyMapMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToggleFooterCmd ¶
ToggleFooterCmd sends a ToggleFooterMsg to show/hide the help footer.
Types ¶
type Footer ¶
type Footer struct { // contains filtered or unexported fields }
Footer is a Bubble Tea model that displays help and other info.
func (*Footer) SetShowAll ¶
SetShowAll sets whether the full help is shown.
type ToggleFooterMsg ¶
type ToggleFooterMsg struct{}
ToggleFooterMsg is a message sent to show/hide the footer.
type UpdateKeyMapMsg ¶
Click to show internal directories.
Click to hide internal directories.