Skip to content

Releases: CortexLM/cTUI

v0.0.2

28 Mar 13:54

Choose a tag to compare

New Features

Layer System

  • Z-index layering for widget render ordering
  • Widget::z_index() method with default value of 0

Event Batching

  • EventBatcher for aggregating events over configurable time windows
  • Default 16ms window (~60fps)

Component Pooling (component-pool feature)

  • MessagePool<T> for reusing message objects
  • Uses typed_arena::Arena for contiguous chunk allocation

Damage Tracking Fast Path

  • Optimized buffer diff with packed cell comparison
  • Fast path compares PackedCell bytes directly

Float Colors (float-colors feature)

  • Color32 struct with f32 components
  • High-precision color for alpha blending and gradients

WASM Backend (ctui-wasm crate)

  • CanvasBackend for HTML5 Canvas rendering
  • WebRenderer with frame callback support
  • Event mapping for keyboard, mouse, and wheel

Performance

  • 1455 tests pass
  • All clippy warnings resolved
  • WASM builds successfully