mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #473] [MERGED] improve word wrap perf by tracking byte_offset instead of recalc #1342
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#1342
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/473
Author: @kommander
Created: 1/5/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @kommander
Base:
main← Head:fix-word-wrap-perf📝 Commits (10+)
9f7ad46stash4a07f90ts resize test834fc85refactor0a16cfdbetter tests2621627better tests0b8fc86amend0685da4remove ineffective tests4c09f45cleanupbbc9f9acleanup3ae8bfcfix double alloc📊 Changes
5 files changed (+330 additions, -16 deletions)
View changed files
➕
packages/core/src/tests/wrap-resize-perf.test.ts(+200 -0)📝
packages/core/src/zig/test.zig(+2 -0)➕
packages/core/src/zig/tests/wrap-cache-perf_test.zig(+110 -0)📝
packages/core/src/zig/text-buffer-segment.zig(+3 -2)📝
packages/core/src/zig/text-buffer-view.zig(+15 -14)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.