Skip to content

#508: Adopt quadraui TUI text-selection + OSC52 clipboard; delete bespoke clipboard/selection plumbing - #566

Merged
JDonaghy merged 1 commit into
developfrom
issue-508-adopt-quadraui-tui-text-selection-osc52
Jul 9, 2026
Merged

#508: Adopt quadraui TUI text-selection + OSC52 clipboard; delete bespoke clipboard/selection plumbing#566
JDonaghy merged 1 commit into
developfrom
issue-508-adopt-quadraui-tui-text-selection-osc52

Conversation

@JDonaghy

@JDonaghy JDonaghy commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Closes #508

Automated merge from the coordinator for assignment 8c2735dbc726 on issue #508.

Worker branch: issue-508-adopt-quadraui-tui-text-selection-osc52develop.

Deletes the bespoke xclip/xsel/wl-copy/wl-paste process-spawning clipboard
plumbing (find_clipboard_write_cmd/find_clipboard_read_cmd/has_binary), the
DISPLAY=:0 hack, and the stderr-suppression RAII guard that existed only to
hide "Can't open display" noise from those spawns.

quadraui#269 + #283 (both merged) now ship TuiPlatformServices, which covers
the same ground upstream: arboard for the local desktop clipboard, OSC 52
(stdout + /dev/tty, with tmux DCS passthrough) for SSH/tmux, and a native
clipboard-tool fallback leg for local-X11-inside-tmux. setup_tui_clipboard
now just wraps a shared TuiPlatformServices in two Fn closures matching the
engine's existing clipboard_read/clipboard_write callback shape.

Scoped to part 1 of #508 (the clipboard swap — high confidence per the
issue). Parts 2 (terminal-panel TextRegion migration) and 3 (editor
visual-selection drag-arbitration migration) are deferred to follow-up
issues; findings recorded via `coord context` on #508.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

Adopt quadraui TUI text-selection + OSC52 clipboard; delete bespoke clipboard/selection plumbing

1 participant