diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 08:54:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-14 08:54:53 +0000 |
| commit | bc2fc778ae10b0c18debeeafe51804e95499e435 (patch) | |
| tree | 8d2192122894338678fd30c2b7d5d7236f2279f7 | |
| parent | csi: IND+RI now clears LCF (diff) | |
csi: DECAWM: clear LCF
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | csi.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 30639adb..01df8b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -101,6 +101,7 @@ * `LF` now always clears `LCF`. Previously, it only cleared it when the cursor was **not** at the bottom of the scrolling region. * `IND` and `RI` now clears `LCF`. +* `DECAWM` not clears `LCF`. ### Security @@ -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: |
