tui

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToYesNo

func BoolToYesNo(b bool) string

func StringToStringOrDash

func StringToStringOrDash(s string) string

Types

type Summary

type Summary struct {
	Quit bool
	// contains filtered or unexported fields
}

func NewCommitSummary

func NewCommitSummary(cmt *model.Commit, commitTypes []model.CommitType) *Summary

func (*Summary) Init

func (s *Summary) Init() tea.Cmd

func (*Summary) Update

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

func (*Summary) View

func (s *Summary) View() string

Jump to

Keyboard shortcuts

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