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/screen.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 1fc4edf..5ba16e7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -684,6 +684,26 @@ void vt100_screen_reset_mouse_reporting_press_release(VT100Screen *vt) vt->mouse_reporting_press_release = 0; } +void vt100_screen_set_mouse_reporting_button_motion(VT100Screen *vt) +{ + vt->mouse_reporting_button_motion = 1; +} + +void vt100_screen_reset_mouse_reporting_button_motion(VT100Screen *vt) +{ + vt->mouse_reporting_button_motion = 0; +} + +void vt100_screen_set_mouse_reporting_sgr_mode(VT100Screen *vt) +{ + vt->mouse_reporting_sgr_mode = 1; +} + +void vt100_screen_reset_mouse_reporting_sgr_mode(VT100Screen *vt) +{ + vt->mouse_reporting_sgr_mode = 0; +} + void vt100_screen_set_bracketed_paste(VT100Screen *vt) { vt->bracketed_paste = 1; -- cgit v1.2.3-54-g00ecf