Skip to content

OSC-52 clipboard: make yanks reach the system clipboard (works over SSH) #1

Description

@ooyeku

Stem's clipboard is in-process only (clipboard field in src/kernel/core.zig, used by cmdEditCopy/cmdEditCut/cmdEditPaste in src/kernel/commands/edit_commands.zig). Copying should also emit an OSC-52 escape sequence so the text lands in the system clipboard — including over SSH and inside tmux, where exec-based bridges fail.

Scope:

  • Emit ESC ] 52 ; c ; <base64> BEL on copy/cut (vaxis may expose a helper; otherwise write to the tty writer)
  • Capability detection with graceful fallback to the internal clipboard
  • Surface which backend is active in the control center, per the reliability ground rules in CONTRIBUTING.md

Roadmap: 0.13.0 (docs/roadmap.md).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions