summaryrefslogtreecommitdiffstats
path: root/src/parser.l
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-17 11:24:06 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-17 11:24:06 -0400
commit858dfa5e53f2068b0b88eb5ebdaef5afc5f0301d (patch)
tree6e0d6f1a4ec1ce61e9913110009d13a8a16e20f2 /src/parser.l
parente66769c5c6e6e91d0ac6836c16c81f3a58ccb12a (diff)
downloadlibvt100-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.l')
-rw-r--r--src/parser.l12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/parser.l b/src/parser.l
index da403cd..6594358 100644
--- a/src/parser.l
+++ b/src/parser.l
@@ -511,6 +511,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);
@@ -564,6 +570,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);