Repository navigation
Configurable right click behavior - #8254
Merged
Merged
Conversation
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 16, 2025 07:43
cf1ecd9 to
92abcd6
Compare
pluiedev
requested changes
Aug 17, 2025
pluiedev
left a comment
Member
There was a problem hiding this comment.
One small suggestion to the docs
lujobi
force-pushed
the
feature/right-click-behavior
branch
2 times, most recently
from
August 17, 2025 10:53
3406265 to
9ab67b3
Compare
00-kat
reviewed
Aug 17, 2025
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 17, 2025 10:59
9ab67b3 to
4de6b3d
Compare
00-kat
requested changes
Aug 17, 2025
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 17, 2025 11:55
4de6b3d to
1894ff8
Compare
00-kat
requested changes
Aug 17, 2025
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 17, 2025 12:02
1894ff8 to
1785aee
Compare
00-kat
approved these changes
Aug 17, 2025
Author
|
@pluiedev would you mind taking another look the requested changes? Thank you! |
pluiedev
requested changes
Aug 19, 2025
pluiedev
left a comment
Member
There was a problem hiding this comment.
The rest looks good, just some code nitpicks
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 19, 2025 19:28
bf1094b to
44fec7e
Compare
lujobi
force-pushed
the
feature/right-click-behavior
branch
from
August 19, 2025 19:30
44fec7e to
54b7e18
Compare
|
I spent an evening vibe coding QuickEdit only to discover that it's already here, omg thank you! |
mitchellh
added a commit
that referenced
this pull request
Apr 27, 2026
This PR addresses #12108 implemented similarly to #8254 to allow middle click + TrackPoint scrolling on MacOS. `primary-paste` naming comes from `gtk_enable_primary_paste`. The following configuration values for `middle-click-action` are provided: - `primary-paste` - Paste from the selection (or system) clipboard per `copy-on-select`. - `ignore` - Do nothing, ignore the middle click. Tested locally on macOS with Zig 0.15.2 using `zig build -Doptimize=ReleaseFast`. Thank you!
christmic
pushed a commit
to christmic/Sylvander
that referenced
this pull request
Aug 12, 2026
This PR addresses ghostty-org/ghostty#12108 implemented similarly to ghostty-org/ghostty#8254 to allow middle click + TrackPoint scrolling on MacOS. `primary-paste` naming comes from `gtk_enable_primary_paste`. The following configuration values for `middle-click-action` are provided: - `primary-paste` - Paste from the selection (or system) clipboard per `copy-on-select`. - `ignore` - Do nothing, ignore the middle click. Tested locally on macOS with Zig 0.15.2 using `zig build -Doptimize=ReleaseFast`. Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This MR addresses #4404 following the approach suggested here. Implementing the behavior known e.g. from Putty or Windows Terminal.
The following configuration values for
right-click-actionare provided:context-menu- Show the context menu.paste- Paste the contents of the clipboard.copy- Copy the selected text to the clipboard.copy-and-paste- Copy the selected text to the clipboard, paste if nothing is selected.ignore- Do nothing, ignore the right-click.I followed #5935 for getting an idea on where to start. I hope this to be a temporary solution until "bindable mouse bindings" are introduced.
This is my first time writing Zig code, so I am happy to incorporate any feedback.
Thank you all very much for your work!