header

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

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

func New

func New(s *styles.Palette) Model

func (*Model) CancelEditing

func (m *Model) CancelEditing()

func (Model) IsEditing

func (m Model) IsEditing() bool

func (*Model) SetLeft

func (m *Model) SetLeft(s string)

func (*Model) SetMiddle

func (m *Model) SetMiddle(s string)

func (*Model) SetRight

func (m *Model) SetRight(s string)

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

func (*Model) StartEditing

func (m *Model) StartEditing(currentText string)

func (*Model) StopEditing

func (m *Model) StopEditing() string

func (Model) Update

func (m Model) Update(msg tea.Msg) (Model, tea.Cmd)

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