Skip to content

Implement needed modifications for issue #12600, more flexible copy-on-select and middle-click-action#12604

Open
mohshami wants to merge 2 commits intoghostty-org:mainfrom
mohshami:main
Open

Implement needed modifications for issue #12600, more flexible copy-on-select and middle-click-action#12604
mohshami wants to merge 2 commits intoghostty-org:mainfrom
mohshami:main

Conversation

@mohshami
Copy link
Copy Markdown
Contributor

@mohshami mohshami commented May 6, 2026

For middle-click-action

  • Kept the option "primary-paste" instead of "paste-primary" to keep backwards compatibility
  • Added the option "clipboard-paste"

For copy-on-select

  • Added the both, none and primary options

Updated config documentation

Note: No AI was used, Even though I don't know Zig, I looked at the code and the modifications seemed easy enough

For middle-click-action
* Kept the option "primary-paste" instead of "paste-primary" to keep
backwards compatibility
* Added the option "clipboard-paste"

For copy-on-select
* Added the both, none and primary options

Updated config documentation
@mohshami mohshami requested a review from a team as a code owner May 6, 2026 22:27
@ghostty-vouch
Copy link
Copy Markdown
Contributor

ghostty-vouch Bot commented May 6, 2026

Hi @mohshami, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/ghostty-org/ghostty/blob/main/CONTRIBUTING.md for more details.

@ghostty-vouch ghostty-vouch Bot closed this May 6, 2026
@jcollie
Copy link
Copy Markdown
Member

jcollie commented May 6, 2026

!vouch

@ghostty-vouch ghostty-vouch Bot mentioned this pull request May 6, 2026
ghostty-vouch Bot added a commit that referenced this pull request May 6, 2026
Triggered by
[comment](#12604 (comment))
from @jcollie.

Vouch: @mohshami

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jcollie jcollie reopened this May 6, 2026
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.

2 participants