Skip to content

TextUI 0.2.0

Choose a tag to compare

@yibie yibie released this 09 Aug 14:38
· 34 commits to main since this release

TextUI 0.2.0 adds buffer runtime coordination while keeping Emacs widget.el as the control system.

Highlights:

  • Routes top-level plist state changes to named refresh regions.
  • Coalesces repeated regional updates and falls back to full reconciliation for structural changes.
  • Adds dependency-aware lifecycle effects for timers, processes, and cleanup.
  • Adds lifecycle-safe async callbacks that ignore stale work.
  • Updates the btop prototype to use automatic state routing and managed live sampling.
  • Documents the new state, effect, and regional refresh interfaces.

In the btop 50-process fixture, the routed details update improved from a median of 11.65 ms to 5.67 ms, about 2.05x faster, while continuing to use native widget.el push-button rows.

Verification:

  • 87 ERT tests pass.
  • Byte compilation passes with warnings treated as errors.
  • Requires Emacs 29.1 or later.