aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 437fd8bc..c5f616ac 100644
--- a/csi.c
+++ b/csi.c
@@ -422,6 +422,8 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
case 1004:
term->focus_events = enable;
+ if (enable)
+ term_to_slave(term, term->kbd_focus ? "\033[I" : "\033[O", 3);
break;
case 1005: