Skip to content

Auto-copy terminal selections - #87

Merged
justrach merged 1 commit into
mainfrom
feat/tui-auto-copy-selection
Jun 23, 2026
Merged

Auto-copy terminal selections#87
justrach merged 1 commit into
mainfrom
feat/tui-auto-copy-selection

Conversation

@yxlyx

@yxlyx yxlyx commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • auto-copy terminal text selections to the clipboard when a mouse drag selection ends
  • only trigger for non-empty selections that belong to the terminal container
  • show a non-blocking bottom toast that says Copied to clipboard after successful clipboard writes

Closes #85.

Test plan

  • cd gui && bunx eslint src/components/workspace-board/hooks/useTerminalSession.ts src/components/workspace-board/TerminalPane.tsx --quiet
  • cd gui && bunx tsc --noEmit --pretty false
  • cd gui && bun run build:deps && bun test

Note: cd gui && bun run build currently fails in gen:desktop-contracts because src-tauri is missing the local binary resource binaries/graff-aarch64-apple-darwin in this worktree.

@justrach
justrach merged commit d9db13a into main Jun 23, 2026
4 checks passed
@justrach
justrach deleted the feat/tui-auto-copy-selection branch July 15, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI: auto-copy highlighted text on mouse selection

2 participants