viewports

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TitledViewport

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

func NewTitledViewport

func NewTitledViewport(name string, color lipgloss.Color, content string) TitledViewport

func (TitledViewport) Init

func (m TitledViewport) Init() tea.Cmd

func (TitledViewport) Update

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

func (TitledViewport) View

func (m TitledViewport) View() string

func (TitledViewport) Width

func (m TitledViewport) Width() int

Jump to

Keyboard shortcuts

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