Skip to content

Add middle-click-paste config option#12109

Open
nicholas-ochoa wants to merge 1 commit intoghostty-org:mainfrom
nicholas-ochoa:middle-click-paste-options
Open

Add middle-click-paste config option#12109
nicholas-ochoa wants to merge 1 commit intoghostty-org:mainfrom
nicholas-ochoa:middle-click-paste-options

Conversation

@nicholas-ochoa
Copy link
Copy Markdown
Contributor

Summary

This PR implements a fix for: #9788 and #12108

  • Added a new setting middle-click-paste to control which clipboard is used when pasting.
    • selection (default) pastes from the selection clipboard, falling back to the system clipboard if needed
    • clipboard pastes from the system clipboard
    • false disables middle click paste entirely

AI Disclosure

I used claude code (Sonnet 4.6) to identify the best place to start when implementing this change. All code in this PR was written by me.

…e` to switch between clipboard/selection/disabled
@nicholas-ochoa nicholas-ochoa requested a review from a team as a code owner April 5, 2026 02:51
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.

1 participant