summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-21 19:56:50 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-21 19:56:50 -0400
commit6a46f7ebe7f6c14f4668b48e77041c942760b994 (patch)
treec0ee4aeb25964ddaf887dac537746083f11d1f18
parentd9291474d73e1a5d482b9175cb0717dd2a9fd544 (diff)
downloadlibvt100-6a46f7ebe7f6c14f4668b48e77041c942760b994.tar.gz
libvt100-6a46f7ebe7f6c14f4668b48e77041c942760b994.zip
these should all be resetting
-rw-r--r--src/parser.c10
-rw-r--r--src/parser.l10
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: