help

package
v0.0.0-...-766dd70 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	foam.Common
	*help.Model
	// contains filtered or unexported fields
}

func New

func New(bindings help.KeyMap, opts ...Option) *Model

func (*Model) CanGrow

func (m *Model) CanGrow() bool

func (*Model) GetHeight

func (m *Model) GetHeight() int

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 Option

type Option func(*Model)

func WithStyles

func WithStyles(styles *foam.Styles) Option

Jump to

Keyboard shortcuts

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