Make right click report to the terminal

8 views
Skip to first unread message

Aaron Meurer

unread,
Apr 13, 2022, 6:40:11 PMApr 13
to iterm2-...@googlegroups.com
Is there a way to make right click report to the terminal instead of
opening the context menu (preferably only when the terminal actually
has mouse reporting turned on)? I saw there is an option to make
Control-click do this but I couldn't find anything for right click.

Aaron Meurer

George Nachman

unread,
Apr 14, 2022, 5:02:28 PMApr 14
to iterm2-...@googlegroups.com
Remove the right-click -> context menu binding in Prefs > Pointer > Bindings. It’s there by default to force the context menu to open even when reporting mouse events.



--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/CAKgW%3D6LnYrRT8Km1nHGtPDK-H323%3Dq4qUyTWCBQ143aFFeVCcA%40mail.gmail.com.

Aaron Meurer

unread,
Apr 14, 2022, 6:15:22 PMApr 14
to iterm2-...@googlegroups.com
Great that works. I didn't realize that removing that would still keep the context menu for non-mouse reporting applications. 

The context here is that emacs 28.1 has added new right click menu support, so I want to be able to do that. Plus it looks like I can still force the normal menu with right click by holding Option.

Aaron Meurer

Reply all
Reply to author
Forward
0 new messages