sidebar

package
v0.0.0-...-0ab5f93 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	ID    string
	Title string
}

func (Item) FilterValue

func (i Item) FilterValue() string

type Model

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

func New

func New(s styles.Styles) Model

func (*Model) Focus

func (m *Model) Focus(active bool)

func (*Model) SetActive

func (m *Model) SetActive(project string)

func (*Model) SetProjects

func (m *Model) SetProjects(projects []string, order string, recent []string)

func (*Model) SetSize

func (m *Model) SetSize(w, h int)

func (*Model) Update

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

func (*Model) View

func (m *Model) View() string

type SelectMsg

type SelectMsg struct {
	Project string
}

Jump to

Keyboard shortcuts

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