help

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: MIT Imports: 2 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 {
	Width   int
	Height  int
	Content string
	Styles  Styles
}

func New

func New() Model

func ToModel

func ToModel(m tea.Model, c tea.Cmd) (Model, tea.Cmd)

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) SetContent

func (m *Model) SetContent(content string)

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type Styles

type Styles struct{}

Jump to

Keyboard shortcuts

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