aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-01-01 12:58:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-07 16:28:37 +0000
commit6cdaa4fd0a60b6b1d6cc4a9464dcc720533e644f (patch)
treeb2c024171f7776831a93a305ecec7fd62a44f381 /osc.c
parentterm: add term_set_user_mouse_cursor() (diff)
osc: implement OSC-22 - set xcursor pointer
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osc.c b/osc.c
index 7144e111..1167aedc 100644
--- a/osc.c
+++ b/osc.c
@@ -744,6 +744,10 @@ osc_dispatch(struct terminal *term)
term_damage_cursor(term);
break;
+ case 22: /* Set mouse cursor */
+ term_set_user_mouse_cursor(term, string);
+ break;
+
case 30: /* Set tab title */
break;