Skip to main content

Module ftui_adapter

Module ftui_adapter 

Source
Expand description

Thin FrankenTUI adapter for cass UI migration.

Centralizes high-frequency imports so the migration can switch internals without touching every call site repeatedly.

Modules§

anim_presets
Ready-to-use animation presets built from core primitives.

Structs§

AnimationGroup
A collection of named animations with shared lifecycle control.
App
Builder for creating and running programs.
Callbacks
An animation wrapper that emits events at milestones.
Flex
A flexible layout container.
Frame
Frame = Buffer + metadata for a render pass.
FrameBudgetConfig
Configuration for frame budget behavior.
Grid
A 2D grid layout container.
KeyEvent
A keyboard event.
LayoutSizeHint
Size hint returned by measurer callbacks for intrinsic sizing.
Modifiers
Modifier keys that can be held during a key event.
Program
The program runtime that manages the update/view loop.
Rect
A rectangle for scissor regions, layout bounds, and hit testing.
RuntimeDiffConfig
Runtime-level configuration for diff strategy selection.
Sides
Sides for padding/margin.
Size
A 2D size in terminal cells.
Spring
A damped harmonic oscillator producing physically-based motion.
Style
Unified styling type with CSS-like cascading semantics.
TerminalWriter
Unified terminal output coordinator.
Theme
A theme with semantic color slots.
Timeline
A timeline that schedules multiple animations at specific offsets.

Enums§

Alignment
Alignment of items within the layout.
Cmd
Commands represent side effects to be executed by the runtime.
Constraint
A constraint on the size of a layout area.
DegradationLevel
Progressive degradation levels for render quality.
Direction
The direction to layout items.
Event
Canonical input event.
KeyCode
Key codes for keyboard events.
ScreenMode
Screen mode determines whether we use alternate screen or inline mode.
StaggerMode
How to distribute delay offsets across items.
UiAnchor
Where the UI region is anchored in inline mode.

Traits§

Animation
A time-based animation producing values in [0.0, 1.0].
Model
The Model trait defines application state and behavior.
StatefulWidget
A widget that renders based on mutable state.
Widget
A widget that can render itself into a Frame.

Functions§

stagger_offsets
Compute stagger delay offsets for count items.