commandlog

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package commandlog implements the read-only git command log overlay.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Panel

type Panel struct {
	panels.BasePanel
	// contains filtered or unexported fields
}

Panel renders the global git command log as a scrollable read-only overlay.

func New

func New(th *theme.Theme) *Panel

New creates a command log overlay panel backed by the global git command log.

func NewWithLog

func NewWithLog(log *git.CommandLog, th *theme.Theme) *Panel

NewWithLog creates a command log overlay panel backed by log.

func (*Panel) Init

func (p *Panel) Init(_ context.Context) tea.Cmd

Init implements panels.Panel.

func (*Panel) KeyBindings

func (p *Panel) KeyBindings() []panels.KeyBinding

KeyBindings implements panels.Panel.

func (*Panel) Update

func (p *Panel) Update(msg tea.Msg) (panels.Panel, tea.Cmd)

Update implements panels.Panel.

func (*Panel) View

func (p *Panel) View(width, height int) string

View implements panels.Panel.

Jump to

Keyboard shortcuts

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