aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 51eb22cb..5adb5001 100644
--- a/csi.c
+++ b/csi.c
@@ -713,6 +713,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->mouse_reporting = MOUSE_SGR;
break;
+ case 1007:
+ term->alt_scrolling = true;
+ break;
+
case 1015:
term->mouse_reporting = MOUSE_URXVT;
break;
@@ -802,6 +806,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->focus_events = false;
break;
+ case 1007:
+ term->alt_scrolling = false;
+ break;
+
case 1036:
/* metaSendsEscape - we always send escape */
LOG_WARN("unimplemented: meta does *not* send escape");