aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-14 08:54:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-14 08:54:53 +0000
commitbc2fc778ae10b0c18debeeafe51804e95499e435 (patch)
tree8d2192122894338678fd30c2b7d5d7236f2279f7 /csi.c
parentcsi: IND+RI now clears LCF (diff)
csi: DECAWM: clear LCF
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 9ace5177..fc6db974 100644
--- a/csi.c
+++ b/csi.c
@@ -1030,7 +1030,9 @@ csi_dispatch(struct terminal *term, uint8_t final)
}
case 7:
+ /* DECAWM */
term->auto_margin = true;
+ term->grid->cursor.lcf = false;
break;
case 9:
@@ -1175,7 +1177,9 @@ csi_dispatch(struct terminal *term, uint8_t final)
}
case 7:
+ /* DECAWM */
term->auto_margin = false;
+ term->grid->cursor.lcf = false;
break;
case 12: