You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched the documentation and found nothing about double clicks. I think there should either be some state for this in the mouse input event or at least a function to get the double click time from the system.
Keep in mind that triple clicks and so on also need to be supported. Triple click typically selects a paragraph in a text view.
The text was updated successfully, but these errors were encountered:
@portstrom this is currently left up for the application to solve. In Alacritty, we record a timestamp whenever a click is received, and using a configurable timeout, watch for double and triple clicks.
It's a shame not to be able to access the system-wide double click time configuration. There should be some API for this. I would be happy even to have an API that uses a hardcoded number as long as the implementation can be changed in a future version to use the system-wide setting.
I searched the documentation and found nothing about double clicks. I think there should either be some state for this in the mouse input event or at least a function to get the double click time from the system.
Keep in mind that triple clicks and so on also need to be supported. Triple click typically selects a paragraph in a text view.
The text was updated successfully, but these errors were encountered: