Summary
Add an option for the TUI to automatically copy highlighted/selected text to the system clipboard when the user finishes a mouse drag selection.
Problem
Currently users have to select text in the TUI and then press Ctrl+C to copy it. This adds friction for a common workflow: quickly highlighting output, letting go of the mouse, and pasting it elsewhere.
Proposed behavior
- When a user drags to highlight text in the TUI, copy the selected text to the clipboard automatically when the mouse button is released.
- After copying, show a small non-blocking confirmation popup/toast at the bottom of the TUI saying:
Copied to clipboard.
- The popup should disappear automatically after a short delay.
UX notes
- This should not interrupt keyboard input or require dismissal.
- Consider making the behavior configurable if automatic copy could surprise users.
- If clipboard access fails, show a brief error toast instead of silently failing.
Acceptance criteria
Summary
Add an option for the TUI to automatically copy highlighted/selected text to the system clipboard when the user finishes a mouse drag selection.
Problem
Currently users have to select text in the TUI and then press
Ctrl+Cto copy it. This adds friction for a common workflow: quickly highlighting output, letting go of the mouse, and pasting it elsewhere.Proposed behavior
Copied to clipboard.UX notes
Acceptance criteria
Copied to clipboardafter successful copy.Ctrl+Ccopy behavior continues to work.