feat: textarea selection - #1029
Open
andrinoff wants to merge 6 commits into
Open
Conversation
Signed-off-by: drew <me@andrinoff.com>
andrinoff
marked this pull request as draft
August 4, 2026 12:29
Member
Author
2026-08-04.16-40-32.mp4 |
Signed-off-by: drew <me@andrinoff.com>
2 tasks
Signed-off-by: drew <me@andrinoff.com>
Signed-off-by: drew <me@andrinoff.com>
andrinoff
added a commit
to charmbracelet/crush
that referenced
this pull request
Aug 4, 2026
…elet/bubbles#1029) Signed-off-by: drew <me@andrinoff.com>
andrinoff
marked this pull request as ready for review
August 4, 2026 15:55
Signed-off-by: drew <me@andrinoff.com>
Signed-off-by: drew <me@andrinoff.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CONTRIBUTING.md.What?
Users can now highlight text using keyboard shortcuts (shift+arrows, ctrl+alt+arrows for words, ctrl+g for all) or by clicking and dragging with the mouse (needs wiring). Selected text is visually highlighted with a customizable background color.
Why?
The textarea previously had no way to select, copy, or replace portions of text. This made it difficult to edit existing content without retyping it, and impossible to copy text out of the component. These are baseline expectations for any text input, and their absence meant users had to work around the limitation by deleting and re-entering content manually.
Fixes #1027
Fixes CRUSHGH-1113
This will also partially open the
textareaelement to more uses!