info

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 12 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 {
	Expand        bool
	DefaultHeight int
	ExpandHeight  int
	Hash          string
	LocalBranch   string
	RemoteBranch  string
	BranchRefs    repository.Refs
	Remotes       []string
	Date          string
	Author        repository.User
	Authors       []repository.User
	// contains filtered or unexported fields
}

func New

func New(state *commit.State) Model

func ToModel added in v0.4.0

func ToModel(m tea.Model, c tea.Cmd) (Model, tea.Cmd)

func (*Model) Blur

func (m *Model) Blur()

func (*Model) Focus

func (m *Model) Focus()

func (Model) Focused added in v0.4.0

func (m Model) Focused() bool

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type Styles

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

Jump to

Keyboard shortcuts

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