Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement opt-in OSC52 clipboard querying #6239

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 9, 2024

  1. feat: implement opt-in OSC52 clipboard querying

    - add new config option `enable_osc52_clipboard_reading = false`
    - add a new trait function:
    `Clipboard::get_contents(&self, selection: ClipboardSelection, writer: Box<dyn ClipboardReader>)`
    
    The clipboard content is read asynchronously by providing a sender
    channel `Box<dyn ClipboardReader>`
    
    The sender `ClipboardReader` is a trait that requires the channel to be
    the `Send` + `Sync` + `Debug` (for the `MuxNotification` enum) along
    with the special hackery trait `ClipboardReaderBoxClone` that allows `Box<dyn
    ClipboardReader>)` to be `Clone`
    39555 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    e96033a View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Update docs/shell-integration.md

    Co-authored-by: Len Trigg <lenbok@gmail.com>
    39555 and Lenbok authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    5bb18c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. Update docs/shell-integration.md

    Co-authored-by: Len Trigg <lenbok@gmail.com>
    39555 and Lenbok authored Nov 15, 2024
    Configuration menu
    Copy the full SHA
    c42784d View commit details
    Browse the repository at this point in the history