root

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

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

func New

func New() *Root

func (*Root) CurrentHeight

func (r *Root) CurrentHeight() int

func (*Root) CurrentView

func (r *Root) CurrentView() bubbleviews.View

func (*Root) CurrentWidth

func (r *Root) CurrentWidth() int

func (*Root) Init

func (r *Root) Init() tea.Cmd

func (*Root) MaxHeight

func (r *Root) MaxHeight() int

func (*Root) MaxWidth

func (r *Root) MaxWidth() int

func (*Root) SetCurrentHeight

func (r *Root) SetCurrentHeight(currentHeight int)

func (*Root) SetCurrentView

func (r *Root) SetCurrentView(view bubbleviews.View) tea.Cmd

func (*Root) SetCurrentWidth

func (r *Root) SetCurrentWidth(currentWidth int)

func (*Root) SetMaxHeight

func (r *Root) SetMaxHeight(maxHeight int)

func (*Root) SetMaxWidth

func (r *Root) SetMaxWidth(maxWidth int)

func (*Root) Update

func (r *Root) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Root) View

func (r *Root) View() string

Jump to

Keyboard shortcuts

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