header

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MaxHeight = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}
func Header(initialFocused ui.Focused, state ui.ApplicationState) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) SetFocused

func (m *Model) SetFocused(focused ui.Focused)

func (*Model) SetWidth

func (m *Model) SetWidth(width int)

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