Copy output panel contents to the system clipboard #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
Bug reports today require the user to terminal-select the relevant region of the output panel, fiddle with wrapping/border characters, and paste. A built-in "copy to clipboard" would eliminate ~80% of that friction and dramatically improve the bug-report → reproduction loop.
Scope to decide
yover a navigated region) vs an app command (copy,copy last)?Implementation
Cross-platform Rust crates worth evaluating:
arboard— actively maintained, X11/Wayland/macOS/Windows.copypasta— older but still in use.OSC 52 plus a native-clipboard fallback is probably the right combination.
Resolved by ADR-0041 (commit
d0c8f9d). New app-levelcopy/copy all/copy lastcommand: OSC 52 escape + best-effort native (arboard) write, always both; payload is the output panel's plain text exactly as rendered. Full-stack PTY-verified. See docs/handoff/20260602-handoff-55.md.