[PR #224] [MERGED] Textarea #378

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

📋 Pull Request Information

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

Base: mainHead: afaik-this-is-an-editor


📝 Commits (10+)

📊 Changes

108 files changed (+46028 additions, -4272 deletions)

View changed files

📝 AGENTS.md (+19 -9)
📝 bun.lock (+15 -0)
📝 packages/core/README.md (+10 -0)
📝 packages/core/package.json (+2 -0)
📝 packages/core/src/Renderable.ts (+21 -2)
📝 packages/core/src/buffer.ts (+9 -7)
📝 packages/core/src/console.ts (+7 -2)
packages/core/src/edit-buffer.test.ts (+1251 -0)
packages/core/src/edit-buffer.ts (+308 -0)
packages/core/src/editor-view.test.ts (+287 -0)
packages/core/src/editor-view.ts (+183 -0)
packages/core/src/examples/editor-demo.ts (+135 -0)
📝 packages/core/src/examples/hast-syntax-highlighting-demo.ts (+3 -2)
📝 packages/core/src/examples/index.ts (+21 -0)
📝 packages/core/src/examples/text-wrap.ts (+180 -21)
📝 packages/core/src/examples/tree-sitter-syntax-highlighting-demo.ts (+2 -2)
📝 packages/core/src/index.ts (+4 -0)
📝 packages/core/src/lib/hast-styled-text.ts (+2 -4)
📝 packages/core/src/lib/index.ts (+0 -1)
packages/core/src/lib/syntax-style.test.ts (+0 -437)

...and 80 more files

📄 Description

reworked all text handling and rendering


🔄 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/224 **Author:** [@kommander](https://github.com/kommander) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@kommander](https://github.com/kommander) **Base:** `main` ← **Head:** `afaik-this-is-an-editor` --- ### 📝 Commits (10+) - [`c688abf`](https://github.com/anomalyco/opentui/commit/c688abf05a40b4e3ef36ccca2889000159afeaea) remove deprecated method - [`82917c9`](https://github.com/anomalyco/opentui/commit/82917c93575255d86560969d03acf85da41eb387) setup native bench - [`bfe059c`](https://github.com/anomalyco/opentui/commit/bfe059c95e8f415697ddf60e07678c0f3c77edd4) refactor bench setup - [`30cfefc`](https://github.com/anomalyco/opentui/commit/30cfefcfc4c3104669c928d486b2856067e7ee1a) more reusable bench setup - [`1ab5559`](https://github.com/anomalyco/opentui/commit/1ab55597e86495674d99cd34e2cf263eeb64cdac) use simd16 line break utf8 method - [`03259f3`](https://github.com/anomalyco/opentui/commit/03259f385989a9cc3e6877a9ff3d51984ca88155) stash - [`2508dc6`](https://github.com/anomalyco/opentui/commit/2508dc634547efdd257326ae57eca1037045d1b9) more readable bench output] - [`754f221`](https://github.com/anomalyco/opentui/commit/754f221ebc89b46a798b376db27fc845b36c957e) generic mem bench results - [`7330475`](https://github.com/anomalyco/opentui/commit/73304757344174e9240b18933d1a9421abc1aa75) ascii only check - [`8ab800b`](https://github.com/anomalyco/opentui/commit/8ab800b357c7adee01021acd12f2118662caa95a) wrap points with char offset ### 📊 Changes **108 files changed** (+46028 additions, -4272 deletions) <details> <summary>View changed files</summary> 📝 `AGENTS.md` (+19 -9) 📝 `bun.lock` (+15 -0) 📝 `packages/core/README.md` (+10 -0) 📝 `packages/core/package.json` (+2 -0) 📝 `packages/core/src/Renderable.ts` (+21 -2) 📝 `packages/core/src/buffer.ts` (+9 -7) 📝 `packages/core/src/console.ts` (+7 -2) ➕ `packages/core/src/edit-buffer.test.ts` (+1251 -0) ➕ `packages/core/src/edit-buffer.ts` (+308 -0) ➕ `packages/core/src/editor-view.test.ts` (+287 -0) ➕ `packages/core/src/editor-view.ts` (+183 -0) ➕ `packages/core/src/examples/editor-demo.ts` (+135 -0) 📝 `packages/core/src/examples/hast-syntax-highlighting-demo.ts` (+3 -2) 📝 `packages/core/src/examples/index.ts` (+21 -0) 📝 `packages/core/src/examples/text-wrap.ts` (+180 -21) 📝 `packages/core/src/examples/tree-sitter-syntax-highlighting-demo.ts` (+2 -2) 📝 `packages/core/src/index.ts` (+4 -0) 📝 `packages/core/src/lib/hast-styled-text.ts` (+2 -4) 📝 `packages/core/src/lib/index.ts` (+0 -1) ➖ `packages/core/src/lib/syntax-style.test.ts` (+0 -437) _...and 80 more files_ </details> ### 📄 Description reworked all text handling and rendering --- <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:13 +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#378
No description provided.