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 5b102f58..4f0814bf 100644
--- a/csi.c
+++ b/csi.c
@@ -1136,6 +1136,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 4: /* Insert Mode - IRM */
term->insert_mode = true;
+ term_update_ascii_printer(term);
break;
case 12: /* Send/receive Mode - SRM */
@@ -1156,6 +1157,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
switch (vt_param_get(term, 0, 0)) {
case 4: /* Insert Mode - IRM */
term->insert_mode = false;
+ term_update_ascii_printer(term);
break;
case 2: /* Keyboard Action Mode - AM */