types

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package types defines shared types between console and tui packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearOutputMsg

type ClearOutputMsg struct{}

ClearOutputMsg requests the TUI to clear the output viewport.

type FuzzyItem

type FuzzyItem struct {
	Name string
	Desc string
}

FuzzyItem represents an item in the fuzzy picker. Implements list.Item interface (FilterValue).

func (FuzzyItem) FilterValue

func (i FuzzyItem) FilterValue() string

FilterValue implements the list.Item interface for bubbletea lists.

type FuzzySelectMsg

type FuzzySelectMsg struct {
	Context string
	Items   []FuzzyItem
	Title   string
}

FuzzySelectMsg requests the TUI to enter fuzzy selection mode.

type Option

type Option struct {
	Name     string
	Value    string
	Required bool
	Desc     string
	Advanced bool
}

Option represents a module option.

type SessionInteractMsg

type SessionInteractMsg struct {
	ID int
}

SessionInteractMsg requests the TUI to interact with a session.

Jump to

Keyboard shortcuts

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