tui

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppStyle = lipgloss.NewStyle().Padding(1, 2)

	TitleStyle = lipgloss.NewStyle().
				Foreground(lipgloss.Color("#FFFDF5")).
				Background(lipgloss.Color("#25A065")).
				Padding(0, 1)

	StatusMessageStyle = lipgloss.NewStyle().
						Foreground(lipgloss.AdaptiveColor{Light: "#04B575", Dark: "#04B575"}).
						Render
)

Functions

func ConvertCommittersToListItems

func ConvertCommittersToListItems(committers []model.Committer) (items []list.Item)

func NewItemDelegate

func NewItemDelegate(keys *DelegateKeyMap) list.DefaultDelegate

Types

type DelegateKeyMap

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

func NewDelegateKeyMap

func NewDelegateKeyMap() *DelegateKeyMap

func (*DelegateKeyMap) FullHelp

func (d *DelegateKeyMap) FullHelp() [][]key.Binding

func (*DelegateKeyMap) ShortHelp

func (d *DelegateKeyMap) ShortHelp() []key.Binding

Jump to

Keyboard shortcuts

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