statusbar

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyBinding

type KeyBinding struct {
	Key  string
	Desc string
}

type Model

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

func New

func New(s *styles.Palette) Model

func (Model) Mode

func (m Model) Mode() string

func (*Model) SetKeybindings

func (m *Model) SetKeybindings(kb []KeyBinding)

func (*Model) SetMiddleContent

func (m *Model) SetMiddleContent(s string)

func (*Model) SetMode

func (m *Model) SetMode(mode string)

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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