mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[PR #356] [CLOSED] Replace yoga-layout with bun-yoga #1256
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1256
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/356
Author: @remorses
Created: 11/28/2025
Status: ❌ Closed
Base:
main← Head:yoga-ffi📝 Commits (10+)
abe8002using bun-yogaea18c97Replace yoga-layout with bun-yoga9f943f3Remove top-level await to enable bytecode compilationeeb543aMerge branch 'main' into yoga-ffidf8566aFix duplicate entry for 'jimp' in package.jsoncd1e953Update package.jsonaebb519Replace yoga-layout with bun-yoga in LineNumberRenderable15e8afarevert back to import9a6b244Merge branch 'main' into yoga-ffi5de3458chore: update bun-yoga to 0.2.5📊 Changes
12 files changed (+31 additions, -13 deletions)
View changed files
📝
bun.lock(+15 -3)📝
packages/core/package.json(+2 -2)📝
packages/core/scripts/build.ts(+1 -0)📝
packages/core/src/Renderable.ts(+1 -1)📝
packages/core/src/index.ts(+1 -1)📝
packages/core/src/lib/yoga.options.test.ts(+1 -1)📝
packages/core/src/lib/yoga.options.ts(+1 -1)📝
packages/core/src/renderables/Box.ts(+1 -1)📝
packages/core/src/renderables/EditBufferRenderable.ts(+1 -1)📝
packages/core/src/renderables/LineNumberRenderable.ts(+1 -1)📝
packages/core/src/renderables/TextBufferRenderable.ts(+1 -1)📝
packages/core/src/renderer.ts(+5 -0)📄 Description
Replace yoga-layout (WASM) with bun-yoga (native FFI via Zig)
Closes #355
I created the bun-yoga package using Bun FFI: https://github.com/remorses/bun-yoga
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.