diff options
author | nicm <nicm> | 2017-02-01 09:55:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-01 09:55:07 +0000 |
commit | dd0c8147795c518de443c33895c614e52b42677f (patch) | |
tree | 2260ebc6d5ff2559ac2fd6156add15cc580407a3 /cmd-list-buffers.c | |
parent | 3408595f77920764bf6c4c313a0abc6a1cfb8048 (diff) | |
download | rtmux-dd0c8147795c518de443c33895c614e52b42677f.tar.gz rtmux-dd0c8147795c518de443c33895c614e52b42677f.tar.bz2 rtmux-dd0c8147795c518de443c33895c614e52b42677f.zip |
Implement "all event" (1003) mouse mode but in a way that works. The
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.
Diffstat (limited to 'cmd-list-buffers.c')
0 files changed, 0 insertions, 0 deletions