help

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Help

type Help struct {
	*tview.Box
	// contains filtered or unexported fields
}

Help is a help primitive dialog.

func NewHelp

func NewHelp(appName string, appVersion string) *Help

NewHelp returns a help screen primitive.

func (*Help) Draw

func (help *Help) Draw(screen tcell.Screen)

Draw draws this primitive onto the screen.

func (*Help) Focus

func (help *Help) Focus(delegate func(p tview.Primitive))

Focus is called when this primitive receives focus.

func (*Help) GetTitle

func (help *Help) GetTitle() string

GetTitle returns primitive title.

func (*Help) HasFocus

func (help *Help) HasFocus() bool

HasFocus returns whether or not this primitive has focus.

Jump to

Keyboard shortcuts

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