Documentation
¶
Index ¶
- type Model
- func (m Model) KeyMap() table.KeyMap
- func (m Model) Selected() (container.Short, bool)
- func (m Model) SetDark(dark bool) Model
- func (m Model) SetErr(err error) Model
- func (m Model) SetShorts(shorts []container.Short) Model
- func (m Model) SetSize(w, h int) Model
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) View() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the containers pane. It holds no client and performs no I/O.
func (Model) SetDark ¶
SetDark adapts the column headers and the selection to a dark or light terminal background.
func (Model) SetShorts ¶
SetShorts replaces the rows and keeps the cursor on the same container across refreshes; the table itself only keeps the row index.
Click to show internal directories.
Click to hide internal directories.