Documentation
¶
Index ¶
- type Model
- func (m *Model) Blur()
- func (m *Model) Focus()
- func (m *Model) Focused() bool
- func (m *Model) GetPath() string
- func (m *Model) Init() tea.Cmd
- func (m *Model) SetFocused(focused bool)
- func (m *Model) SetSize(width, height int)
- func (m *Model) SetStyles(styles common.Styles)
- 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 Bubble Tea model for the native diff viewer
func (*Model) SetFocused ¶
SetFocused sets the focused state
Click to show internal directories.
Click to hide internal directories.