mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #601] [MERGED] textarea: align ctrl+a defaults and tests with platform behavior #1428
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#1428
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/601
Author: @simonklee
Created: 1/28/2026
Status: ✅ Merged
Merged: 1/30/2026
Merged by: @kommander
Base:
main← Head:fix-testarea📝 Commits (3)
d4ec325textarea: keep ctrl+a bound to line-home4ecf1b0textarea: align ctrl+a defaults and tests with platform behavior010b1a2Revert "textarea: align ctrl+a defaults and tests with platform behavior"📊 Changes
1 file changed (+1 additions, -10 deletions)
View changed files
📝
packages/core/src/renderables/Textarea.ts(+1 -10)📄 Description
Remove the redundant ctrl+a line-home default entry (the platform block
already handles line-home on macOS and select-all elsewhere). Update
Input/Textarea ctrl+a assertions to branch on process.platform and keep
follow-up expectations stable by clearing selection.
This fixes 4 test failures on linux/windows where ctrl+a was expected
to move to line start but instead selected all text.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.