Documentation
¶
Index ¶
- type KeyMap
- type Model
- func (m Model) KeyMap() KeyMap
- func (m Model) SetDark(dark bool) Model
- func (m Model) SetDetails(d container.Details) Model
- func (m Model) SetErr(err error) Model
- func (m Model) SetSize(w, h int) Model
- func (m Model) Start() 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 KeyMap ¶
KeyMap extends the viewport keys with jumps to the start and end and the environment toggle.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the inspect pane. It holds no client and performs no I/O; details are set by the caller as they arrive.
func (Model) KeyMap ¶
KeyMap returns the pane's key bindings for the help footer. The help of the environment toggle follows its state.
func (Model) SetDetails ¶
SetDetails shows d and clears any error. The scroll position is kept, so a refresh doesn't lose the user's place.
Click to show internal directories.
Click to hide internal directories.