sidelist

package
v0.0.0-...-ab933d4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package sidelist provides the item delegate for sidebar list

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delegate

type Delegate struct {
	Ctx *ctx.Ctx
}

func New

func New(ctx *ctx.Ctx) Delegate

func (Delegate) Height

func (d Delegate) Height() int

func (Delegate) Render

func (d Delegate) Render(w io.Writer, m list.Model, index int, item list.Item)

func (Delegate) Spacing

func (d Delegate) Spacing() int

func (Delegate) Update

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

func (Delegate) Width

func (d Delegate) Width() int

Jump to

Keyboard shortcuts

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