aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-02-15 15:29:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-15 15:54:41 +0000
commit729bd57caee1cc6fd31419adf8f75ea482c37102 (patch)
treef4f322b89c5a0982a59eeb76e5ac43c279989dd3 /CHANGELOG.md
parentrender: always center grid when fullscreened or maximized (diff)
term: erase-scrollback: handle non-existing scrollback history
If scrollback.lines == 0, and the window size (number of rows) is a power of two, all rows are always visible. I.e. there is no scrollback history. This threw off the scrollback erase logic, causing visible rows to be erased, and set to NULL. This triggered a crash when trying to update the view. Closes #1610
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c8d9d781..d3f5d119 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -109,11 +109,16 @@
-E,--client-environment` ([#1568][1568]).
* XDG toplevel protocol violation, by trying to set a title that
contains an invalid UTF-8 sequence ([#1552][1552]).
+* Crash when erasing the scrollback, when scrollback history is
+ exactly 0 rows. This happens when `[scrollback].line = 0`, and the
+ window size (number of rows) is a power of two (i.e. 2, 4, 8, 16
+ etc) ([#1610][1610]).
[1531]: https://codeberg.org/dnkl/foot/issues/1531
[1573]: https://codeberg.org/dnkl/foot/issues/1573
[1568]: https://codeberg.org/dnkl/foot/issues/1568
[1552]: https://codeberg.org/dnkl/foot/issues/1552
+[1610]: https://codeberg.org/dnkl/foot/issues/1610
### Security