feat: drag-select and copy text from main pane terminal - #49
Closed
sebasv wants to merge 1 commit into
Closed
Conversation
Restores in-app text selection inside the embedded terminal so users don't have to reach for the OS-level Shift+drag escape hatch (which spans the sidebar). Mouse drag in the main pane paints a reversed highlight; on mouse-up grove reads the selection from the vt100 screen and pushes it to the system clipboard via OSC 52. Because OSC 52 support varies, grove now sniffs the host emulator from TMUX/TERM_PROGRAM/TERM and emulator-specific env vars at startup. On the first uncertain copy a one-time hint surfaces in the sidebar with a specific remediation (tmux config, unsupported emulator, etc.) so users aren't left wondering why a paste elsewhere comes up empty. Co-Authored-By: Claude <noreply@anthropic.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.
Summary
Test plan
🤖 Generated with Claude Code