diff options
author | Joe Wilm <joe@jwilm.com> | 2018-01-06 11:39:33 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-01-06 11:57:38 -0800 |
commit | c44f56e56e8178fbf01e965d28e3679fdf541e16 (patch) | |
tree | 94ec475d87928e6f76965f533c5729f770da4ee5 /src/macros.rs | |
parent | 2920cbe7103f03a45080bfb7610bd7f481f36361 (diff) | |
download | r-alacritty-c44f56e56e8178fbf01e965d28e3679fdf541e16.tar.gz r-alacritty-c44f56e56e8178fbf01e965d28e3679fdf541e16.tar.bz2 r-alacritty-c44f56e56e8178fbf01e965d28e3679fdf541e16.zip |
Fix SGR mouse reporting
There were two bugs fixed in this commit:
1. `sgr_mouse_report` was not always called when `SGR_MOUSE` bit was set
due to calling `normal_mouse_report` instead of `mouse_report` in the
scrolling method.
2. SGR reporting was always going off the left mouse button state rather
than what was appropriate. This affected SGR scroll reporting since
it only behaves correctly for pressed events (final character 'M').
Resolves #698.
Diffstat (limited to 'src/macros.rs')
0 files changed, 0 insertions, 0 deletions