statusbar

package
v0.0.0-...-766dd70 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	foam.Common
	// contains filtered or unexported fields
}

func New

func New(bindings help.KeyMap, opts ...Option) *Model

func (*Model) CanGrow

func (m *Model) CanGrow() bool

func (*Model) GetHeight

func (m *Model) GetHeight() int

func (*Model) SetContent

func (m *Model) SetContent(strings ...string)

func (*Model) View

func (m *Model) View() string

type Option

type Option func(*Model)

func WithContent

func WithContent(strings ...string) Option

func WithStyles

func WithStyles(styles *foam.Styles) Option

Jump to

Keyboard shortcuts

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