summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-20 15:29:19 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-20 15:29:19 -0400
commit3f28b7d12aff6cf2c18761cc3e00dde8360b32ab (patch)
treeda526fc14f4d766e311674374c9436138c10f140 /src
parent465ad8a7789556fafb4378b5da4bc988eabde479 (diff)
downloadlibvt100-3f28b7d12aff6cf2c18761cc3e00dde8360b32ab.tar.gz
libvt100-3f28b7d12aff6cf2c18761cc3e00dde8360b32ab.zip
missed a couple of things to reset with ris
Diffstat (limited to 'src')
-rw-r--r--src/parser.c3
-rw-r--r--src/parser.l3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 679c448..639b4d1 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -2456,6 +2456,9 @@ static void vt100_parser_handle_ris(VT100Screen *vt)
vt100_screen_reset_application_cursor(vt);
vt100_screen_reset_mouse_reporting_press(vt);
vt100_screen_reset_mouse_reporting_press_release(vt);
+ vt100_screen_reset_mouse_reporting_button_motion(vt);
+ vt100_screen_reset_mouse_reporting_sgr_mode(vt);
+ vt100_screen_reset_bracketed_paste(vt);
}
static void vt100_parser_handle_vb(VT100Screen *vt)
diff --git a/src/parser.l b/src/parser.l
index 4aae2f4..6f24d35 100644
--- a/src/parser.l
+++ b/src/parser.l
@@ -295,6 +295,9 @@ static void vt100_parser_handle_ris(VT100Screen *vt)
vt100_screen_reset_application_cursor(vt);
vt100_screen_reset_mouse_reporting_press(vt);
vt100_screen_reset_mouse_reporting_press_release(vt);
+ vt100_screen_reset_mouse_reporting_button_motion(vt);
+ vt100_screen_reset_mouse_reporting_sgr_mode(vt);
+ vt100_screen_reset_bracketed_paste(vt);
}
static void vt100_parser_handle_vb(VT100Screen *vt)