diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-17 11:24:06 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-17 11:24:06 -0400 |
commit | 858dfa5e53f2068b0b88eb5ebdaef5afc5f0301d (patch) | |
tree | 6e0d6f1a4ec1ce61e9913110009d13a8a16e20f2 /src/parser.c | |
parent | e66769c5c6e6e91d0ac6836c16c81f3a58ccb12a (diff) | |
download | libvt100-858dfa5e53f2068b0b88eb5ebdaef5afc5f0301d.tar.gz libvt100-858dfa5e53f2068b0b88eb5ebdaef5afc5f0301d.zip |
these mouse reporting modes are probably also worthwhile to support
this doesn't really affect anything, but it'll be useful for runes
eventually
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index 30015f4..fa8d7b8 100644 --- a/src/parser.c +++ b/src/parser.c @@ -2679,6 +2679,12 @@ static void vt100_parser_handle_sm(VT100Screen *vt, char *buf, size_t len) case 1000: vt100_screen_set_mouse_reporting_press_release(vt); break; + case 1002: + vt100_screen_set_mouse_reporting_button_motion(vt); + break; + case 1006: + vt100_screen_set_mouse_reporting_sgr_mode(vt); + break; case 47: case 1049: vt100_screen_use_alternate_buffer(vt); @@ -2732,6 +2738,12 @@ static void vt100_parser_handle_rm(VT100Screen *vt, char *buf, size_t len) case 1000: vt100_screen_set_mouse_reporting_press_release(vt); break; + case 1002: + vt100_screen_set_mouse_reporting_button_motion(vt); + break; + case 1006: + vt100_screen_set_mouse_reporting_sgr_mode(vt); + break; case 47: case 1049: vt100_screen_use_normal_buffer(vt); |