components

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodyText

func BodyText(item shared.Item) string

func NewItemDelegate

func NewItemDelegate(keys *DelegateKeyMap) list.DefaultDelegate

func NewTextarea

func NewTextarea(item *shared.Item) textarea.Model

Types

type DelegateKeyMap

type DelegateKeyMap struct {
	Choose key.Binding
	Remove key.Binding
	Help   key.Binding
}

func NewDelegateKeyMap

func NewDelegateKeyMap() *DelegateKeyMap

func (DelegateKeyMap) FullHelp

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

Additional full help entries. This satisfies the help.KeyMap interface and is entirely optional.

func (DelegateKeyMap) ShortHelp

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

Additional short help entries. This satisfies the help.KeyMap interface and is entirely optional.

Jump to

Keyboard shortcuts

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