mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #170] [MERGED] Introduce Text Wrap Capabilities #1126
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#1126
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/170
Author: @kommander
Created: 9/19/2025
Status: ✅ Merged
Merged: 9/19/2025
Merged by: @kommander
Base:
main← Head:text-wrap-finally📝 Commits (10+)
e62bc82chunks own bufferd298842temp fix insertChunk8b1504btrash up the placeef71f42native test coverage8a8dfbfstashe2f626fremove initial capacity requirement for test buffer1ff51c9add ts wrap testsfdf2302stash599f2fcstasha6f3621do not flush stdout if not split mode📊 Changes
15 files changed (+2743 additions, -406 deletions)
View changed files
📝
package.json(+2 -1)➕
packages/core/src/examples/text-wrap.ts(+590 -0)📝
packages/core/src/renderables/ScrollBox.ts(+6 -2)📝
packages/core/src/renderables/Text.test.ts(+228 -1)📝
packages/core/src/renderables/Text.ts(+53 -17)📝
packages/core/src/renderables/__snapshots__/Text.test.ts.snap(+117 -0)📝
packages/core/src/renderer.ts(+27 -6)📝
packages/core/src/text-buffer.test.ts(+122 -8)📝
packages/core/src/text-buffer.ts(+19 -18)📝
packages/core/src/zig.ts(+39 -44)📝
packages/core/src/zig/buffer.zig(+75 -47)📝
packages/core/src/zig/lib.zig(+22 -20)📝
packages/core/src/zig/tests/text-buffer_test.zig(+860 -79)📝
packages/core/src/zig/text-buffer.zig(+561 -155)📝
packages/solid/tests/layout.test.tsx(+22 -8)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.