diff --git a/CHANGELOG.md b/CHANGELOG.md index 904730d7..30639adb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,7 @@ Column Flag_). * `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`. ### Security diff --git a/csi.c b/csi.c index d8356e7f..9ace5177 100644 --- a/csi.c +++ b/csi.c @@ -577,6 +577,7 @@ csi_dispatch(struct terminal *term, uint8_t final) .start = term->grid->cursor.point.row, .end = term->scroll_region.end}, count); + term->grid->cursor.lcf = false; break; } @@ -595,6 +596,7 @@ csi_dispatch(struct terminal *term, uint8_t final) .start = term->grid->cursor.point.row, .end = term->scroll_region.end}, count); + term->grid->cursor.lcf = false; break; }