mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
dd0c8147795c518de443c33895c614e52b42677f

main issue is that if we have two panes, A with 1002 and B with 1003, we need to set 1003 outside tmux in order to get all the mouse events, but then we need to suppress the ones that pane A doesn't want. This is easy in SGR mouse mode, because buttons == 3 is only used for movement events (for other events the trailing m/M marks a release instead), but in normal mouse mode we can't tell so easily. So for that, look at the previous event instead - if it is drag+release as well, then the current event is a movement event.
Description
No description provided
Languages
C
87.4%
Roff
7.1%
Shell
2.7%
Yacc
1.4%
M4
0.8%
Other
0.5%