Implement needed modifications for issue #12600, more flexible copy-on-select and middle-click-action
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
Closes #12600
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.
!vouch
JSYK GitHub has a button to batch-add suggestions.
(Disabled auto-merge since it still needs a review from someone in ghostty-org/terminal, so it wouldn't auto-merge until that happens.)