pane

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStatic

func NewStatic(
	ctx context.Context,
	shouldAnimate bool,
	message string,
) *taro.Program

Types

type Pane

type Pane struct {
	util.Lifetime
	deadlock.RWMutex
	*mux.UpdatePublisher
	// contains filtered or unexported fields
}

func New

func New(
	ctx context.Context,
	tree *tree.Tree,
	server *server.Server,
	params *params.Parameters,
) *Pane

func (*Pane) Apply

func (p *Pane) Apply(node L.NodeType) (bool, error)

func (*Pane) Kill

func (p *Pane) Kill()

func (*Pane) Resize

func (p *Pane) Resize(size geom.Size) error

func (*Pane) Send

func (p *Pane) Send(msg mux.Msg)

func (*Pane) State

func (p *Pane) State() *tty.State

type Static

type Static struct {
	util.Lifetime
	// contains filtered or unexported fields
}

func (*Static) Init

func (s *Static) Init() taro.Cmd

func (*Static) Update

func (s *Static) Update(msg tea.Msg) (taro.Model, tea.Cmd)

func (*Static) View

func (s *Static) View(state *tty.State)

Jump to

Keyboard shortcuts

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