package
Version:
v0.26041.1000-preview
Opens a new window with list of versions in this module.
Published: Apr 11, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RunProgram is a helper to run a tea program and handle cancellation
Action represents user's navigation action
const (
ActionConfirm Action = iota
ActionBack
ActionCancel
)
type Result[T any] struct {
Value T
Action Action
}
Result wraps component output with navigation context
IsBack returns true if user went back
IsCancel returns true if user cancelled
IsConfirm returns true if user confirmed
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.