session

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package session defines TUI session states and valid transitions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanTransition

func CanTransition(from, to State) bool

CanTransition reports whether moving from → to is allowed.

Types

type State

type State int

State is the Bubble Tea session mode (listing, installing, binding, …).

const (
	Home State = iota
	Listing
	Searching
	Installing
	Confirming
	HelpOverlay
	BindingAgent
	FilteringAgent
	Inspecting
	CommandPalette
)

Jump to

Keyboard shortcuts

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