[PR #244] [MERGED] fix unicode #392

Closed
opened 2026-03-02 23:46:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/244
Author: @kommander
Created: 10/30/2025
Status: Merged
Merged: 10/30/2025
Merged by: @kommander

Base: mainHead: fix-line-width


📝 Commits (10+)

📊 Changes

19 files changed (+7235 additions, -774 deletions)

View changed files

📝 packages/core/src/editor-view.test.ts (+276 -25)
📝 packages/core/src/zig/bench.zig (+2 -0)
📝 packages/core/src/zig/bench/edit-buffer_bench.zig (+0 -1)
📝 packages/core/src/zig/bench/styled-text_bench.zig (+0 -1)
packages/core/src/zig/bench/text-chunk-graphemes_bench.zig (+237 -0)
📝 packages/core/src/zig/buffer.zig (+77 -15)
📝 packages/core/src/zig/tests/edit-buffer_test.zig (+6 -30)
📝 packages/core/src/zig/tests/editor-view_test.zig (+9 -16)
📝 packages/core/src/zig/tests/segment-merge.test.zig (+1 -35)
📝 packages/core/src/zig/tests/text-buffer-drawing_test.zig (+305 -4)
📝 packages/core/src/zig/tests/text-buffer-iterators_test.zig (+358 -340)
📝 packages/core/src/zig/tests/text-buffer-view_test.zig (+7 -125)
packages/core/src/zig/tests/unicode-width-map.zon (+3909 -0)
📝 packages/core/src/zig/tests/utf8_test.zig (+1479 -6)
📝 packages/core/src/zig/tests/word-wrap-editing_test.zig (+6 -64)
📝 packages/core/src/zig/text-buffer-segment.zig (+11 -55)
📝 packages/core/src/zig/text-buffer-view.zig (+7 -11)
📝 packages/core/src/zig/text-buffer.zig (+4 -13)
📝 packages/core/src/zig/utf8.zig (+541 -33)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/244 **Author:** [@kommander](https://github.com/kommander) **Created:** 10/30/2025 **Status:** ✅ Merged **Merged:** 10/30/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `fix-line-width` --- ### 📝 Commits (10+) - [`6bdcbd2`](https://github.com/anomalyco/opentui/commit/6bdcbd2b6b09d3e0642408083246d5226435c900) test cover - [`01e769f`](https://github.com/anomalyco/opentui/commit/01e769fec094f87f506f649564ec42a2e05cd7e4) unicode - [`294f117`](https://github.com/anomalyco/opentui/commit/294f117148ddb81953a6bf2960de6b3c625c7792) more tests - [`a516943`](https://github.com/anomalyco/opentui/commit/a51694365cd00cccee49c4f86955b75e08a33fc1) more coverage - [`82fd6f4`](https://github.com/anomalyco/opentui/commit/82fd6f433b5ef3bb22371354a9358d0154880e5f) refactor - [`7f0d1a2`](https://github.com/anomalyco/opentui/commit/7f0d1a2e137a4bea742f9e4f71c970564759ef26) stash more unicode - [`22875cc`](https://github.com/anomalyco/opentui/commit/22875cc15d0b81481317fdc50ea5d519843eb2da) remove duplicated and misleading .grapheme_count - [`49f2620`](https://github.com/anomalyco/opentui/commit/49f2620d2826b3500fc97826f5df042c4630e8af) ensure cursor movement around graphemes - [`fc98f09`](https://github.com/anomalyco/opentui/commit/fc98f0993f2284d939068a0159a1bf7c8e324b9d) cover grapheme iterator methods - [`38c9d3c`](https://github.com/anomalyco/opentui/commit/38c9d3cd1e83bbb1e3fb48aa7e0575b4cee45dbd) cover grapheme cursor movement again ### 📊 Changes **19 files changed** (+7235 additions, -774 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/editor-view.test.ts` (+276 -25) 📝 `packages/core/src/zig/bench.zig` (+2 -0) 📝 `packages/core/src/zig/bench/edit-buffer_bench.zig` (+0 -1) 📝 `packages/core/src/zig/bench/styled-text_bench.zig` (+0 -1) ➕ `packages/core/src/zig/bench/text-chunk-graphemes_bench.zig` (+237 -0) 📝 `packages/core/src/zig/buffer.zig` (+77 -15) 📝 `packages/core/src/zig/tests/edit-buffer_test.zig` (+6 -30) 📝 `packages/core/src/zig/tests/editor-view_test.zig` (+9 -16) 📝 `packages/core/src/zig/tests/segment-merge.test.zig` (+1 -35) 📝 `packages/core/src/zig/tests/text-buffer-drawing_test.zig` (+305 -4) 📝 `packages/core/src/zig/tests/text-buffer-iterators_test.zig` (+358 -340) 📝 `packages/core/src/zig/tests/text-buffer-view_test.zig` (+7 -125) ➕ `packages/core/src/zig/tests/unicode-width-map.zon` (+3909 -0) 📝 `packages/core/src/zig/tests/utf8_test.zig` (+1479 -6) 📝 `packages/core/src/zig/tests/word-wrap-editing_test.zig` (+6 -64) 📝 `packages/core/src/zig/text-buffer-segment.zig` (+11 -55) 📝 `packages/core/src/zig/text-buffer-view.zig` (+7 -11) 📝 `packages/core/src/zig/text-buffer.zig` (+4 -13) 📝 `packages/core/src/zig/utf8.zig` (+541 -33) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#392
No description provided.