From 6a46f7ebe7f6c14f4668b48e77041c942760b994 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 21 Oct 2014 19:56:50 -0400 Subject: these should all be resetting --- src/parser.c | 10 +++++----- src/parser.l | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/parser.c b/src/parser.c index 8e16870..95094ae 100644 --- a/src/parser.c +++ b/src/parser.c @@ -2817,22 +2817,22 @@ static void vt100_parser_handle_rm(VT100Screen *vt, char *buf, size_t len) case '?': switch (params[i]) { case 1: - vt100_screen_set_application_cursor(vt); + vt100_screen_reset_application_cursor(vt); break; case 9: - vt100_screen_set_mouse_reporting_press(vt); + vt100_screen_reset_mouse_reporting_press(vt); break; case 25: vt100_screen_hide_cursor(vt); break; case 1000: - vt100_screen_set_mouse_reporting_press_release(vt); + vt100_screen_reset_mouse_reporting_press_release(vt); break; case 1002: - vt100_screen_set_mouse_reporting_button_motion(vt); + vt100_screen_reset_mouse_reporting_button_motion(vt); break; case 1006: - vt100_screen_set_mouse_reporting_sgr_mode(vt); + vt100_screen_reset_mouse_reporting_sgr_mode(vt); break; case 47: case 1049: diff --git a/src/parser.l b/src/parser.l index 78de77e..25cb21f 100644 --- a/src/parser.l +++ b/src/parser.l @@ -642,22 +642,22 @@ static void vt100_parser_handle_rm(VT100Screen *vt, char *buf, size_t len) case '?': switch (params[i]) { case 1: - vt100_screen_set_application_cursor(vt); + vt100_screen_reset_application_cursor(vt); break; case 9: - vt100_screen_set_mouse_reporting_press(vt); + vt100_screen_reset_mouse_reporting_press(vt); break; case 25: vt100_screen_hide_cursor(vt); break; case 1000: - vt100_screen_set_mouse_reporting_press_release(vt); + vt100_screen_reset_mouse_reporting_press_release(vt); break; case 1002: - vt100_screen_set_mouse_reporting_button_motion(vt); + vt100_screen_reset_mouse_reporting_button_motion(vt); break; case 1006: - vt100_screen_set_mouse_reporting_sgr_mode(vt); + vt100_screen_reset_mouse_reporting_sgr_mode(vt); break; case 47: case 1049: -- cgit v1.2.3