mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #518] Feature request: select-all (Cmd+A) for Textarea #136
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#136
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?
Originally created by @danolekh on GitHub (Jan 13, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/518
browser-like "select all" in textarea - press cmd+a to select everything
i have a working implementation:
"select-all"to TextareaAction{ name: "a", super: true, action: "select-all" }selectAll()methodi mostly used claude to navigate this repo. i don't have much terminal dev experience - i usually work in browsers - so I wanted this familiar behavior
What I tested (macOS only)
Questions
super+amaps to Win+A which is weird. So I'm not sure about this feature@kommander commented on GitHub (Jan 14, 2026):
@danolekh commented on GitHub (Jan 18, 2026):
@kommander
have a question regarding arrow keys behaviour when something is selected
in browsers, if something is selected, and you click arrow left / right you go to respective edges of that selection
in terminals, your selection doesn't affect this behiour - cursor just moves from the place it was at that moment
is this something we shouldn't modify?
https://github.com/user-attachments/assets/f26319af-96c9-4463-9e12-238ac74a2be2
@kommander commented on GitHub (Jan 18, 2026):
It could have a similar behaviour like that, yes.