Documentation
¶
Index ¶
- type Content
- type KeyMap
- type Model
- func (m Model) Init() tea.Cmd
- func (m Model) KeyMap() help.KeyMap
- func (m Model) SetContent(rawDiff string, err error) Model
- func (m Model) SetSize(width, height int) Model
- func (m Model) Title() string
- func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)
- func (m Model) UpdateFocus(isFocused bool) (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 Content ¶
type Content struct {
Model
}
Content is a wrapper to use the commit ui as container.Content.
func NewContent ¶
Click to show internal directories.
Click to hide internal directories.