Documentation ¶ Index ¶ type Model func New(output string) *Model func (m *Model) Init() tea.Cmd func (m *Model) Update(msg tea.Msg) tea.Cmd func (m *Model) ViewRect(dl *render.DisplayContext, box layout.Box) type ScrollMsg func (s ScrollMsg) SetDelta(delta int, horizontal bool) tea.Msg 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 } func New ¶ func New(output string) *Model func (*Model) Init ¶ func (m *Model) Init() tea.Cmd func (*Model) Update ¶ func (m *Model) Update(msg tea.Msg) tea.Cmd func (*Model) ViewRect ¶ added in v0.9.11 func (m *Model) ViewRect(dl *render.DisplayContext, box layout.Box) type ScrollMsg ¶ added in v0.9.11 type ScrollMsg struct { Delta int Horizontal bool } func (ScrollMsg) SetDelta ¶ added in v0.9.11 func (s ScrollMsg) SetDelta(delta int, horizontal bool) tea.Msg Source Files ¶ View all Source files diff.go Click to show internal directories. Click to hide internal directories.