helpmenu

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

Modal

func New

func New() Model

func (*Model) Close

func (m *Model) Close()

Quit help menu

func (*Model) GetHeight

func (m *Model) GetHeight() int

func (*Model) GetWidth

func (m *Model) GetWidth() int

func (*Model) HandleKey

func (m *Model) HandleKey(msg string)

Check hotkey input in help menu. Possible actions are moving up, down and quiting the menu

func (*Model) HandleTeaMsg

func (m *Model) HandleTeaMsg(msg tea.Msg) tea.Cmd

func (*Model) IsOpen

func (m *Model) IsOpen() bool

func (*Model) ListDown

func (m *Model) ListDown()

Help menu panel list down

func (*Model) ListUp

func (m *Model) ListUp()

Help menu panel list up

func (*Model) Open

func (m *Model) Open()

Toggle help menu

func (*Model) Render

func (m *Model) Render() string

func (*Model) SetDimensions

func (m *Model) SetDimensions(width int, height int)

Jump to

Keyboard shortcuts

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