Asking curses to report whether the Ctrl key was being pressed during a mouse click was sending mouse position reports--even those aren't being requested--and actual Ctrl+Left_click was reporting a pair of duplicate Ctrl+Mouse_position_report events when a click was actually performed. So turn off Ctrl key reporting. Mac with one-button mouse can be configured to send "secondary click" for Ctrl+Click. A laptop trackpad handles that differently (press the button while two fingers are on the touchpad to send secondary click) and doesn't support Ctrl+Click as an alternate way to do that. If this would work within curses then they could operate the same regardless of how the user set the mouse or trackpad configuraiton. But I wasn't able to make it work right.
23 KiB
23 KiB