ghostty icon indicating copy to clipboard operation
ghostty copied to clipboard

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

Open mohshami opened this issue 6 months ago • 4 comments

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

mohshami avatar May 06 '26 22:05 mohshami

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 avatar May 06 '26 22:05 ghostty-vouch

!vouch

jcollie avatar May 06 '26 23:05 jcollie

JSYK GitHub has a button to batch-add suggestions.

00-kat avatar May 18 '26 14:05 00-kat

(Disabled auto-merge since it still needs a review from someone in ghostty-org/terminal, so it wouldn't auto-merge until that happens.)

00-kat avatar May 18 '26 16:05 00-kat