Documentation ¶
Index ¶
- type KeyMap
- type Model
- func (m Model) Cursor() int
- func (m Model) FullHelp() [][]key.Binding
- func (m Model) Height() int
- func (m *Model) NavDown()
- func (m *Model) NavUp()
- func (m Model) Nodes() []Node
- func (m *Model) NumberOfNodes() int
- func (m *Model) SetCursor(cursor int)
- func (m *Model) SetHeight(newHeight int)
- func (m *Model) SetNodes(nodes []Node)
- func (m *Model) SetShowHelp() bool
- func (m *Model) SetSize(width, height int)
- func (m *Model) SetWidth(newWidth int)
- func (m Model) ShortHelp() []key.Binding
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
- func (m Model) Width() int
- type Node
- type Styles
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyMap ¶
type KeyMap struct { Bottom key.Binding Top key.Binding SectionDown key.Binding SectionUp key.Binding Down key.Binding Up key.Binding Quit key.Binding ShowFullHelp key.Binding CloseFullHelp key.Binding }
KeyMap holds the key bindings for the table.
func DefaultKeyMap ¶
func DefaultKeyMap() KeyMap
DefaultKeyMap is the default key bindings for the table.
Click to show internal directories.
Click to hide internal directories.