commit

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILE_TREE_MIN_WIDTH = 25
	FILE_TREE_MAX_WIDTH = 45
	DIFF_MIN_WIDTH      = 40
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel added in v0.15.4

func NewModel(worktreeRoot, ref, filterPath string, settings ui.Settings, extraKeys keys.Manager) Model

func (Model) CurrentRef added in v0.13.0

func (m Model) CurrentRef() string

CurrentRef returns the commit ref currently displayed by this model.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) InputFocused added in v0.13.0

func (m Model) InputFocused() bool

func (Model) KeyManager added in v0.14.5

func (m Model) KeyManager() keys.Manager

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() tea.View

Jump to

Keyboard shortcuts

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