From d4896e386b3757264775e3ac2e1d1abc9d13a0c2 Mon Sep 17 00:00:00 2001 From: Celina Sophie Kalus Date: Tue, 8 Sep 2026 22:19:05 +0200 Subject: grid: reflow: Preserve cells with background color A cell was previously considered empty if its content is empty. When an empty cell has a non-default background color, truncating such cells from the end of the line when reflowing is unexpected. Instead, treat such cells as non-empty to preserve them. Closes #2462 Signed-off-by: Celina Sophie Kalus --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 39eab318..e60ffeaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,14 @@ ## Unreleased ### Added ### Changed + +* Cells with a non-default background colors, but otherwise empty, are + now preserved (not removed) when resizing a terminal window + ([#2462][2462]). + +[2462]: https://codeberg.org/dnkl/foot/issues/2462 + + ### Deprecated ### Removed ### Fixed -- cgit v1.3