Skip to main content

Module prelude

Module prelude 

Source
Expand description

Commonly used core TUI API items.

Re-exports§

pub use super::CoreCommand;
pub use super::CoreEvent;
pub use super::CoreHandle;
pub use super::CoreSession;
pub use super::CoreSessionOptions;
pub use super::FullscreenInteractionSettings;
pub use super::ListOverlayRequest;
pub use super::ModalOverlayRequest;
pub use super::OverlayEvent;
pub use super::OverlayHotkey;
pub use super::OverlayHotkeyAction;
pub use super::OverlayHotkeyKey;
pub use super::OverlayRequest;
pub use super::OverlaySelectionChange;
pub use super::OverlaySubmission;
pub use super::SessionAppearanceConfig;
pub use super::WizardOverlayRequest;
pub use super::spawn_core_session;
pub use super::theme_from_styles;

Structs§

InlineHeaderContext
Session metadata displayed in the inline header.
InlineHeaderHighlight
A title + content highlight block in the header.
InlineHeaderStatusBadge
A labelled status badge for the header bar.
InlineSegment
A styled text segment with shared style.
InlineTextStyle
Inline text styling with foreground/background color and text effects.
InlineTheme
Resolved theme colors for inline rendering.
KeyboardProtocolSettings
Standalone keyboard protocol settings for terminal key event enhancements.
WizardStep
A single step in a wizard modal flow.

Enums§

InlineHeaderStatusTone
Status-badge tone used in header status indicators.
InlineMessageKind
Message kind tag for inline transcript lines.
LayoutModeOverride
Override for responsive layout detection.
ReasoningDisplayMode
Reasoning visibility behavior in the transcript.
SessionSurface
Standalone surface preference for selecting inline vs alternate rendering.
UiMode
UI mode variants for quick presets.
WizardModalMode
Wizard modal behavior variant.

Functions§

convert_style
Convert an anstyle::Style to an InlineTextStyle.