From 858dfa5e53f2068b0b88eb5ebdaef5afc5f0301d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 17 Sep 2014 11:24:06 -0400 Subject: these mouse reporting modes are probably also worthwhile to support this doesn't really affect anything, but it'll be useful for runes eventually --- src/parser.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/parser.c') 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); -- cgit v1.2.3-54-g00ecf