picker

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Overview

Package picker provides the bubbletea TUI for fuzzy-filtering and previewing sessions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(sessions []source.Session, combined bool, cache *source.PIDCache) (*source.Session, error)

Run starts the interactive session picker and returns the chosen session, or nil if the user cancelled. combined=true shows the SRC column.

Types

type Model

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

Model is the bubbletea model for the interactive session picker.

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

type RefreshMsg added in v0.3.2

type RefreshMsg struct{ Paths []string }

RefreshMsg is sent by the watcher when one or more JSONL files have changed.

Jump to

Keyboard shortcuts

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