mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[PR #427] [MERGED] textarea mouse scroll and cursor positioning + selection auto-scroll #529
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#529
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/427
Author: @kommander
Created: 12/19/2025
Status: ✅ Merged
Merged: 12/19/2025
Merged by: @kommander
Base:
main← Head:textarea-click-cursor📝 Commits (10+)
cd3f6f8selection cursor and scroll initial6b117dcstash9ea350drename paramcf55084mhh9c43d60override thresholdaaeb010move to tsbd23ceacleanup0cc25dfscroll speed options129988ddemo scroll speed5b1c713cover cursor by click📊 Changes
14 files changed (+1723 additions, -145 deletions)
View changed files
📝
packages/core/src/editor-view.ts(+9 -0)📝
packages/core/src/examples/editor-demo.ts(+30 -7)📝
packages/core/src/renderables/EditBufferRenderable.ts(+99 -5)📝
packages/core/src/renderables/TextBufferRenderable.ts(+3 -12)➕
packages/core/src/renderables/__tests__/Textarea.scroll.test.ts(+746 -0)📝
packages/core/src/renderables/__tests__/Textarea.selection.test.ts(+376 -0)📝
packages/core/src/renderer.ts(+2 -0)📝
packages/core/src/testing/test-recorder.test.ts(+132 -0)📝
packages/core/src/testing/test-recorder.ts(+40 -3)📝
packages/core/src/zig.ts(+49 -4)📝
packages/core/src/zig/editor-view.zig(+146 -28)📝
packages/core/src/zig/lib.zig(+7 -13)📝
packages/core/src/zig/tests/editor-view_test.zig(+84 -9)📝
packages/core/src/zig/text-buffer-view.zig(+0 -64)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.