v0.5.9

anomalyco/opentuiv0.5.9Aug 27, 2026by github-actions[bot]

AI Summary

This release focuses on performance optimizations, bug fixes for rendering and text handling, and improvements to native (Zig) module integration.

Key Highlights

  • Performance improvements for rendering (prevent backpressure, reduce word layout work)
  • Native module enhancements (export audio module, expose Yoga C API)
  • Text handling fixes (preserve mixed whitespace graphemes, preserve edit cursors)

New Features

  • Export audio module to Zig consumers
  • Expose Yoga C API to Zig consumers
  • Filter Ghostty logs
  • Rendered terminal examples added to docs

Full Release Notes

## What's Changed
* fix(core): normalize embedded terminal keys by @jlongster in https://github.com/anomalyco/opentui/pull/1423
* fix(native): silence standard library logs by @jlongster in https://github.com/anomalyco/opentui/pull/1425
* feat(native): filter Ghostty logs by @jlongster in https://github.com/anomalyco/opentui/pull/1426
* renderer: prevent backpressure revive by @simonklee in https://github.com/anomalyco/opentui/pull/1170
* renderer: resolve snapshot links from snapshot pool by @simonklee in https://github.com/anomalyco/opentui/pull/1418
* ot ghostty vignette by @simonklee in https://github.com/anomalyco/opentui/pull/1424
* feat(native): export audio module to Zig consumers by @kommander in https://github.com/anomalyco/opentui/pull/1431
* refactor(core): make wrapped layout byte-accurate by @kommander in https://github.com/anomalyco/opentui/pull/1428
* refactor(core): clarify text layout units by @kommander in https://github.com/anomalyco/opentui/pull/1429
* renderer: ignore invalid terminal dimensions by @simonklee in https://github.com/anomalyco/opentui/pull/1440
* fix(core): align bordered hit-grid clipping by @m-pa in https://github.com/anomalyco/opentui/pull/1441
* ffi: preserve viewport lookup success result by @simonklee in https://github.com/anomalyco/opentui/pull/1443
* ssh: assert error code for occupied ports by @simonklee in https://github.com/anomalyco/opentui/pull/1444
* native: prove styled text without JavaScript by @simonklee in https://github.com/anomalyco/opentui/pull/1419
* web: add rendered terminal examples to docs by @simonklee in https://github.com/anomalyco/opentui/pull/1446
* docs: document shared Zig cache for worktrees by @kommander in https://github.com/anomalyco/opentui/pull/1452
* fix(core): limit embedded terminal selection highlights to text by @jlongster in https://github.com/anomalyco/opentui/pull/1451
* fix(native): preserve truncated copy ranges by @kommander in https://github.com/anomalyco/opentui/pull/1448
* fix(native): preserve mixed whitespace graphemes by @kommander in https://github.com/anomalyco/opentui/pull/1447
* perf(core): skip tab refresh for tab-free roots by @kommander in https://github.com/anomalyco/opentui/pull/1450
* fix(core): preserve edit cursors across tab widths by @kommander in https://github.com/anomalyco/opentui/pull/1449
* fix(native): expose Yoga C API to Zig consumers by @kommander in https://github.com/anomalyco/opentui/pull/1454
* perf(native): reduce word layout work with eager view metadata by @kommander in https://github.com/anomalyco/opentui/pull/1456


**Full Changelog**: https://github.com/anomalyco/opentui/compare/v0.5.8...v0.5.9