help

package
v0.0.0-...-63b292e Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() tea.Cmd

Init initializes the Help model.

Types

type Help

type Help struct {
	focus.FocusField
	// contains filtered or unexported fields
}

Help represents the help view.

func New

func New(theme colors.Theme, keys keys.KeyMap, viewportStyle lipgloss.Style) Help

New creates a new Help view.

func (*Help) SetSize

func (h *Help) SetSize(height, width int)

SetSize sets the height and width of the Help view and updates the viewport.

func (Help) Update

func (h Help) Update(msg tea.Msg) (Help, tea.Cmd)

Update updates the Help view.

func (Help) View

func (h Help) View() string

View returns the Help view.

Jump to

Keyboard shortcuts

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