history

package
v0.0.0-...-421e1c8 Latest Latest
Warning

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

Go to latest
Published: May 12, 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 ItemDelegate

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

func (ItemDelegate) Height

func (d ItemDelegate) Height() int

func (ItemDelegate) Render

func (d ItemDelegate) Render(w io.Writer, m list.Model, index int, li list.Item)

func (ItemDelegate) Spacing

func (d ItemDelegate) Spacing() int

func (ItemDelegate) Update

func (d ItemDelegate) Update(msg tea.Msg, m *list.Model) tea.Cmd

type Model

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

func New

func New(s styles.Styles, km keymap.Keymap) Model

func (*Model) Hide

func (m *Model) Hide()

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) SetHistory

func (m *Model) SetHistory(history []*history.Operation)

func (*Model) SetSize

func (m *Model) SetSize(width, height int)

func (*Model) Show

func (m *Model) Show()

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

func (*Model) Visible

func (m *Model) Visible() bool

Jump to

Keyboard shortcuts

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