v0.1.78

anomalyco/opentuiv0.1.78Feb 10, 2026by github-actions[bot]

AI Summary

Significant refactoring of styling, layout, and terminal environment handling.

Key Highlights

  • Added marginX/marginY and paddingX/paddingY style attributes
  • Introduced Mode 2031 dark/light theme detection by @kavhnr
  • Fixed Windows Terminal mouse tracking via DEC private modes
  • Added shader cube fixes by @m-pa

Full Release Notes

## What's Changed
* update website docs by @kommander in https://github.com/anomalyco/opentui/pull/620
* refactor(terminal): inject env map overrides by @simonklee in https://github.com/anomalyco/opentui/pull/623
* Add marginX/marginY and paddingX/paddingY to the style attributes by @viralcodex in https://github.com/anomalyco/opentui/pull/619
* testing: make TestRecorder timestamps deterministic by @simonklee in https://github.com/anomalyco/opentui/pull/627
* layout: use batched Edge values for margin/padding by @simonklee in https://github.com/anomalyco/opentui/pull/625
* docs: add renderer lifecycle and cleanup guide by @simonklee in https://github.com/anomalyco/opentui/pull/629
* fix(keyboard): correct kitty numpad key code mappings by @eyenalxai in https://github.com/anomalyco/opentui/pull/632
* fix(editor-view): clear stale glyphs when text shrinks by @kitlangton in https://github.com/anomalyco/opentui/pull/634
* fix(core): enable threading on Linux by @simonklee in https://github.com/anomalyco/opentui/pull/624
* ci(core): run tests on both macOS and Linux by @simonklee in https://github.com/anomalyco/opentui/pull/626
* fix(buffer): add errdefer for allocations in OptimizedBuffer init by @simonklee in https://github.com/anomalyco/opentui/pull/640
* Revert "fix(core): enable threading on Linux (#624)" by @simonklee in https://github.com/anomalyco/opentui/pull/643
* fix(renderer): add errdefer for hit grid by @simonklee in https://github.com/anomalyco/opentui/pull/642
* fix(renderer): add errdefer cleanup in createWithOptions by @simonklee in https://github.com/anomalyco/opentui/pull/641
* Fix double escape by @simonklee in https://github.com/anomalyco/opentui/pull/648
* fix(terminal): restore DEC private modes on focus-in to fix Windows Terminal mouse tracking by @Hona in https://github.com/anomalyco/opentui/pull/655
* Shader cube fixes by @m-pa in https://github.com/anomalyco/opentui/pull/659
* text-buffer: encapsulate internals behind accessors by @simonklee in https://github.com/anomalyco/opentui/pull/656
* feat(renderer): add Mode 2031 dark/light theme detection by @kavhnr in https://github.com/anomalyco/opentui/pull/657
* document theme mode by @kommander in https://github.com/anomalyco/opentui/pull/660

## New Contributors
* @viralcodex made their first contribution in https://github.com/anomalyco/opentui/pull/619
* @eyenalxai made their first contribution in https://github.com/anomalyco/opentui/pull/632
* @kavhnr made their first contribution in https://github.com/anomalyco/opentui/pull/657

**Full Changelog**: https://github.com/anomalyco/opentui/compare/v0.1.77...v0.1.78