mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-17 05:33:52 -04:00
csi: DECAWM: clear LCF
This commit is contained in:
parent
7fce1720d6
commit
bc2fc778ae
2 changed files with 5 additions and 0 deletions
|
|
@ -101,6 +101,7 @@
|
||||||
* `LF` now always clears `LCF`. Previously, it only cleared it when
|
* `LF` now always clears `LCF`. Previously, it only cleared it when
|
||||||
the cursor was **not** at the bottom of the scrolling region.
|
the cursor was **not** at the bottom of the scrolling region.
|
||||||
* `IND` and `RI` now clears `LCF`.
|
* `IND` and `RI` now clears `LCF`.
|
||||||
|
* `DECAWM` not clears `LCF`.
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
4
csi.c
4
csi.c
|
|
@ -1030,7 +1030,9 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
}
|
}
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
|
/* DECAWM */
|
||||||
term->auto_margin = true;
|
term->auto_margin = true;
|
||||||
|
term->grid->cursor.lcf = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 9:
|
case 9:
|
||||||
|
|
@ -1175,7 +1177,9 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
}
|
}
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
|
/* DECAWM */
|
||||||
term->auto_margin = false;
|
term->auto_margin = false;
|
||||||
|
term->grid->cursor.lcf = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 12:
|
case 12:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue