From 7fce1720d6cf8caf807b2d01efb5903834eeddc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 14 Jul 2020 10:52:15 +0200 Subject: [PATCH] csi: IND+RI now clears LCF --- CHANGELOG.md | 1 + csi.c | 2 ++ 2 files changed, 3 insertions(+) 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; }