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§
- Animation
Group - 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.
- Frame
Budget Config - Configuration for frame budget behavior.
- Grid
- A 2D grid layout container.
- KeyEvent
- A keyboard event.
- Layout
Size Hint - 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.
- Runtime
Diff Config - 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.
- Terminal
Writer - 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.
- Degradation
Level - Progressive degradation levels for render quality.
- Direction
- The direction to layout items.
- Event
- Canonical input event.
- KeyCode
- Key codes for keyboard events.
- Screen
Mode - Screen mode determines whether we use alternate screen or inline mode.
- Stagger
Mode - 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.
- Stateful
Widget - 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
countitems.