projectlist

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Width

func Width(s string) int

Render wraps lipgloss width for external callers.

Types

type Model

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

func New

func New() Model

func (Model) Cursor

func (m Model) Cursor() int

func (*Model) MoveDown

func (m *Model) MoveDown()

func (*Model) MoveUp

func (m *Model) MoveUp()

func (Model) Selected

func (m Model) Selected() *api.Project

func (*Model) SetActive

func (m *Model) SetActive(a bool)

func (*Model) SetProjects

func (m *Model) SetProjects(p []api.Project)

func (*Model) SetSize

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

func (Model) TabTitle

func (m Model) TabTitle() string

TabTitle returns the display string used in a tab bar.

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