manual

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Help     = newK("ctrl+k", "^k", "help")
	Quit     = newK("ctrl+b", "esc", "quit")
	Open     = newK("enter", "⏎", "open")
	Close    = newK("esc", "esc", "list")
	Up       = newK("up", "↑", "up")
	Down     = newK("down", "↓", "down")
	PageUp   = newK("pgup", "⇞", "pgup")
	PageDown = newK("pgdn", "⇟", "pgdn")
	Home     = newK("home", "⇱", "home")
	End      = newK("end", "⇲", "end")
)

Functions

func NewProgram

func NewProgram() tea.Model

Types

type Manual

type Manual interface {
	Pages() []Page
	Page(name Page) (content string, err error)
}

func New

func New() Manual

type Page

type Page string

Jump to

Keyboard shortcuts

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