Steps to reproduce
- Open an agent pane and let it produce some output.
- Press Ctrl+A.
- Click and drag across the pane text.
- Try to copy the result.
Expected Behavior
Selection and copy work the same way they do in a normal terminal pane.
Actual Behavior
Nothing selects. The pane is a TermControl running the wta-helper TUI in mouse-tracking mode, so drag events are consumed by the app and Ctrl+A is not bound. Paste already has a dedicated path (EnableAgentPasteShortcutFallback); selection has no equivalent. See AgentPaneContent.cpp around lines 430-442.
Proposed fix
Add an agent-pane selection path alongside the existing paste fallback:
- Bind Ctrl+A to
selectAll in the agent pane.
- Allow plain drag to select by auto-applying the shift-bypass of mouse mode.
- Add right-click Copy.
Status
Right-click copy/paste landed in PR #642. Ctrl+A / selectAll is still outstanding.
Related: this belongs under the #518 Agent Pane UX umbrella. #128 (closed) covered general mouse friendliness; #465 (closed) covered selection styling.
Steps to reproduce
Expected Behavior
Selection and copy work the same way they do in a normal terminal pane.
Actual Behavior
Nothing selects. The pane is a
TermControlrunning the wta-helper TUI in mouse-tracking mode, so drag events are consumed by the app and Ctrl+A is not bound. Paste already has a dedicated path (EnableAgentPasteShortcutFallback); selection has no equivalent. SeeAgentPaneContent.cpparound lines 430-442.Proposed fix
Add an agent-pane selection path alongside the existing paste fallback:
selectAllin the agent pane.Status
Right-click copy/paste landed in PR #642. Ctrl+A / selectAll is still outstanding.
Related: this belongs under the #518 Agent Pane UX umbrella. #128 (closed) covered general mouse friendliness; #465 (closed) covered selection styling.