mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #329] [MERGED] fix editor grapheme cursor + wcwidth/no_zwj modes #1239
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#1239
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/329
Author: @kommander
Created: 11/19/2025
Status: ✅ Merged
Merged: 11/19/2025
Merged by: @kommander
Base:
main← Head:fix-editor-grapheme-cursor📝 Commits (10+)
bdbeee0reproducea76e796maybe fix0f8ad48stash6e3b941tmux wcwidth7644daafind wrap breaks with width methoddc4a66ewcwidth mode a single codepointsda5d0d8wcwidth zwj4c80a13check renderingaedf807stashb43d8b0refactor📊 Changes
23 files changed (+2327 additions, -353 deletions)
View changed files
📝
packages/core/dev/print-env-vars.ts(+13 -1)📝
packages/core/docs/env-vars.md(+16 -0)📝
packages/core/src/examples/editor-demo.ts(+3 -0)📝
packages/core/src/lib/env.ts(+2 -2)📝
packages/core/src/zig.ts(+14 -0)📝
packages/core/src/zig/bench/text-chunk-graphemes_bench.zig(+1 -0)📝
packages/core/src/zig/bench/utf8_bench.zig(+12 -12)📝
packages/core/src/zig/buffer.zig(+8 -2)📝
packages/core/src/zig/edit-buffer.zig(+2 -2)📝
packages/core/src/zig/terminal.zig(+16 -1)📝
packages/core/src/zig/test.zig(+4 -0)📝
packages/core/src/zig/tests/edit-buffer_test.zig(+405 -44)📝
packages/core/src/zig/tests/editor-view_test.zig(+166 -88)📝
packages/core/src/zig/tests/terminal_test.zig(+6 -2)📝
packages/core/src/zig/tests/text-buffer-drawing_test.zig(+422 -60)➕
packages/core/src/zig/tests/utf8_no_zwj_test.zig(+260 -0)📝
packages/core/src/zig/tests/utf8_test.zig(+63 -63)➕
packages/core/src/zig/tests/utf8_wcwidth_test.zig(+362 -0)📝
packages/core/src/zig/text-buffer-iterators.zig(+13 -0)📝
packages/core/src/zig/text-buffer-segment.zig(+4 -2)...and 3 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.