Documentation
¶
Overview ¶
Package tui is the interactive picker: a filterable list of sessions with a preview pane.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Sessions []*session.Session
Opener opener.Opener
Claude string
Rename func(s *session.Session, name string) error
// Search runs a Deep search over the given Sessions (copies of the picker's, so a
// rename never races it). Nil disables ^s.
Search func(ctx context.Context, sessions []*session.Session, query string, progress func(done, total int)) ([]claude.Result, error)
// Recap returns a Session's Recap, whether it is outdated, and whether there is one.
// It may touch the disk, so the picker calls it once per Session. Nil when Recaps are
// off: no box.
Recap func(s *session.Session) (r recap.Recap, outdated, ok bool)
}
Options configures the picker.
Click to show internal directories.
Click to hide internal directories.