statusbar

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bubble

type Bubble struct {
	StatusMessageLifetime time.Duration
	// contains filtered or unexported fields
}

func New

func New(theme theme.Theme) Bubble

func (Bubble) Init

func (b Bubble) Init() tea.Cmd

func (*Bubble) NewStatusMessage

func (b *Bubble) NewStatusMessage(s string, success bool) tea.Cmd

func (*Bubble) SetSize

func (b *Bubble) SetSize(width int)

func (Bubble) Update

func (b Bubble) Update(msg tea.Msg) (Bubble, tea.Cmd)

func (Bubble) View

func (b Bubble) View() string

Jump to

Keyboard shortcuts

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