diff

package
v0.10.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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) HandleIntent added in v0.10.3

func (m *Model) HandleIntent(intent intents.Intent) (tea.Cmd, bool)

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Scopes added in v0.10.3

func (m *Model) Scopes() []dispatch.Scope

func (*Model) SetContent added in v0.10.2

func (m *Model) SetContent(content string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL